Commit Graph

305 Commits

Author SHA1 Message Date
Chris Bianca 5dbb6bc9fd [notifications][android] Support file:// urls for bitmaps 2018-04-10 16:14:06 +01:00
Chris Bianca eb91523478 [notifications][android] Fix incorrect array to arraylist cast #949 2018-04-10 16:02:42 +01:00
mjs daa8f9cbc0
fix cancelAlarm on android
I noticed that firebase.notifications().cancelAllNotifications() has no effect on android phones. All scheduled notifications still appear. The propsed change fixes this. It was "inspired" by https://stackoverflow.com/questions/35341682/cancel-the-scheduled-android-notification/35342066#35342066
2018-04-10 15:41:55 +02:00
Jimmy Mayoukou 2853d77935 Fix contentUrl in AdRequest on Android 2018-04-10 11:03:51 +02:00
Chris Bianca f5fa7436a9 [notifications] Add enableLights and enableVibration to AndroidChannel 2018-03-31 15:42:14 +01:00
Salakar 9511b567b9 sync with master 2018-03-28 16:28:19 +01:00
Chris Bianca 7f7169bd08 [build] Update to android tools 3.1.0 2018-03-28 15:51:08 +01:00
Chris Bianca d101813b5f [messaging][notifications] Make all methods return a promise where they didn’t previously 2018-03-28 11:02:39 +01:00
Chris Bianca 33cd0b0b13 [messaging] Handle Android exceptions when message priority not set correctly 2018-03-28 09:40:38 +01:00
Chris Bianca dd940b953b [firestore] Add support for enable / disable network 2018-03-27 17:31:25 +01:00
Chris Bianca 51721a950f [notifications] Ensure error is always logged 2018-03-27 17:08:21 +01:00
Chris Bianca 9f9a3da5af [auth] Fix issue with null photo URL when updating profile #911 2018-03-27 16:21:14 +01:00
Chris Bianca 6ff34f4daa [notifications] Add support for Android BigPictureStyle and BigTextStyle 2018-03-27 16:15:31 +01:00
Chris Bianca f5f08b716d [android] Upgrade to build tools 3.0.1 2018-03-27 15:32:10 +01:00
Michael Diarmid 8c55e84b26
Update build.gradle 2018-03-27 14:14:26 +01:00
Michael Diarmid ff7b64d458
Update build.gradle
to support new gradle versions
2018-03-27 14:10:47 +01:00
Chris Bianca 685fcf2137 [build] Enabled multiDex by default 2018-03-27 12:44:35 +01:00
Chris Bianca 56a1f1e84d [notifications] Better bundle/json conversion of list types 2018-03-27 10:57:53 +01:00
Tal Davidi 6084360676
[FIX] Syntax error in prior pull request
There was an extra parentheses added in the web view which caused the class to fail compilation.
2018-03-27 03:12:51 -04:00
Tal Davidi 4c11161f14
Add Integer serialization to JSON converter
Required to make vibration work for scheduled notifications. May need to add other types also. (Double off the top of my head)
2018-03-26 16:44:05 -04:00
Tal Davidi b02258b444
Update RNFirebaseNotificationManager.java
Retrieve vibration array as IntegerArray and check for null in case of improper usage.
2018-03-26 12:06:22 -04:00
Salakar e0d62f3945 Merge branch 'master' of https://github.com/invertase/react-native-firebase into bridge-detox 2018-03-23 22:24:49 +00:00
Salakar b386b2e521 [android] gradle version updates 2018-03-23 22:17:51 +00:00
Salakar 9811a7cbef [android] update gradle tool versions 2018-03-23 19:38:17 +00:00
Chris Bianca 8a9033457d [tests] Fix various test errors 2018-03-23 17:03:53 +00:00
Chris Bianca 7f90e485c8 [links] Refactor links to use builder classes 2018-03-23 13:24:31 +00:00
Chris Bianca 526ea04853 Merge branch 'ios-invites' 2018-03-23 11:47:28 +00:00
Chris Bianca e430a4f132 [invites] Tweaks 2018-03-23 11:38:59 +00:00
Chris Bianca 1a5253997d [database] Multi database check url format, and make logging static 2018-03-23 08:42:10 +00:00
Chris Bianca a605a703fb
Merge pull request #881 from pocketgems/multiple_databases_3.3.0_upstream
Implement multiple database shard support
2018-03-23 08:35:01 +00:00
Chris Bianca 2891027f25 [tests] Fix some configuration issues 2018-03-22 14:55:02 +00:00
Chris Bianca 53babb4cd9 [invites] Initial JS and Android invites functionality 2018-03-22 12:46:37 +00:00
Chris Bianca 26c3ed9a60 [notifications] Ensure android specific notification properties are populated 2018-03-22 08:48:00 +00:00
Akshet Pandey a9470e78c5 CR Changes 2018-03-21 13:08:46 -07:00
JinHao Chen cc8799b465 Implement multiple database shard support 2018-03-21 12:51:02 -07:00
Chris Bianca e537955212 [notifications] Add support for android actions 2018-03-09 11:09:28 +00:00
Chris Bianca 54567620f7 [messaging] Bump background message timeout to 60s 2018-03-08 14:05:34 +00:00
Chris Bianca 7619548a2c Merge branch 'master' into fcm-rewrite
# Conflicts:
#	lib/modules/core/firebase.js
#	tests/ios/Podfile.lock
2018-03-08 09:32:57 +00:00
Chris Bianca 7ce7f5ae58 [messaging] Support FCM data-only messages in the background 2018-03-08 09:28:27 +00:00
Chris Bianca 57ffa9bd3e [notifications] Fix some android issues with local notifications 2018-03-07 18:29:53 +00:00
Chris Bianca 7b9269fec5 [notifications] Rename `onNotificationOpened` to `onNotificationOpen` 2018-03-06 18:20:49 +00:00
Chris Bianca b9df258402 [notifications] Android channel and channel group support 2018-03-05 08:28:13 +00:00
Salakar fdf3e0fb56 [android][fabric.crashlytics] update to SDK v2.9.1 (related to / fixes #847) 2018-03-05 00:34:06 +00:00
Michael Diarmid f1a7a13587
Merge branch 'master' into firestore-transactions 2018-03-05 00:05:37 +00:00
Chris Bianca bf2c31ca2d [tests] More auth tests 2018-03-02 09:47:13 +00:00
Salakar 80e9e99789 [firestore][android] update transaction handler to reset command buffer at the start of each cycle 2018-02-23 09:51:05 +00:00
Salakar dd1bbc87f5 [firestore][android] transactions working 2018-02-23 03:00:36 +00:00
Chris Bianca cd0ef4e3b7 [notifications] Continue android implementation 2018-02-15 14:59:21 +00:00
Chris Bianca 99b4b6550b [notifications] WIP Android implementation 2018-02-15 08:11:17 +00:00
Chris Bianca fb57dc5482 [notifications] First pass at notifications JS API 2018-02-09 17:00:03 +00:00