Commit Graph

415 Commits

Author SHA1 Message Date
Michael Diarmid
8a5aaa30b0 [android] Utils.isAppInForeground not accounting for RN LifecycleState
Prior to this change, this utility in some rare cases would return true that Activity was in the foreground, however, React Native was still in the process of resuming, this, for example, led to crashes in HeadlessJS Notification tasks: "Tried to start task RNFirebaseBackgroundMessage while in foreground, but this is not allowed."
2018-09-14 21:48:49 +01:00
Matthew Wood
48bf11849f Guard against NPE in deleteChannelGroup
- Fix only necessary in Android
- Only experienced by devices on Oreo or higher
2018-09-10 15:26:58 -04:00
Matthew Wood
8a26f30a14 BUGFIX: ReactMethod createChannelGroups() name fix 2018-09-07 10:46:17 -04:00
Salakar
aa321db81c [android] update to latest Firebase SDKs 2018-08-24 14:28:02 +01:00
Salakar
5839aadf0f [database][android] reset transaction signalled state on await() 2018-08-16 07:18:01 +01:00
Salakar
c6d0470b14 merge 2018-08-14 02:03:39 +01:00
Salakar
769b3e742a android dep version changes 2018-08-14 02:00:27 +01:00
Salakar
f86163460d [utils][js][android] add firebase.utils().getPlayServicesStatus(): Promise<GoogleApiAvailabilityType | null> to retrieve the latest play services status. Fixes #1257 2018-08-14 01:49:59 +01:00
Salakar
a2205160d8 [functions][android] add support for multiple firebase apps and specifying a function region 2018-08-13 23:18:08 +01:00
Salakar
52c63b5e18 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	android/src/main/java/io/invertase/firebase/crash/RNFirebaseCrash.java
#	android/src/main/java/io/invertase/firebase/crash/RNFirebaseCrashPackage.java
#	lib/index.d.ts
2018-08-04 22:47:04 +01:00
Salakar
1777e80427 [android][ios][js][tests] remove deprecated .crash() 2018-08-04 22:41:39 +01:00
Michael Diarmid
1d185c802e Merge pull request #1316 from invertase/perf
Performance Monitoring upgrade
2018-08-04 22:00:20 +01:00
Salakar
d2bc8543bb [android] refactor and formatting cleanup 2018-08-04 21:57:06 +01:00
Michael Diarmid
c7ba3c0b33 Merge pull request #1362 from invertase/firestore-android-asynctask
[android][firestore] implement threaded snapshot serialization
2018-08-04 07:24:51 +01:00
Salakar
69fa5639c5 [android][firestore] implement Document and Query snapshot serialize async tasks 2018-08-01 23:01:34 +01:00
Salakar
0061ad9888 [android][firestore] cleanup 2018-08-01 23:00:40 +01:00
Pranjal Jain
1d1a56ad3e fix(notifications): Fix alertOnlyOnce in android notifications 2018-07-29 06:25:08 +05:30
Vojtech Novak
3078bae754 Update RNFirebaseNotifications.java 2018-07-25 09:31:13 +02:00
Vojtech Novak
5b516aeb09 add missing space 2018-07-24 17:22:19 +02:00
Vojtech Novak
c3d56b1731 reverse order for better readability 2018-07-24 17:12:42 +02:00
Vojtech Novak
b0fc98d0e6 log error when resource not found 2018-07-24 17:10:38 +02:00
Vojtech Novak
deaf794271 prefer localized fields to the regular ones 2018-07-24 17:09:44 +02:00
Vojtech Novak
28dfbdf253 cast to (Object[]) 2018-07-24 16:01:16 +02:00
Vojtech Novak
109f8309cf use localized title and body unless normal title and body are sent
remove unused import
2018-07-24 15:33:04 +02:00
Salakar
26338d8d62 [android][database] implement DataSnapshotToMapAsyncTask to address performance issue - #1284 2018-07-21 19:07:38 +01:00
Michael Diarmid
321e4a2909 Merge pull request #1058 from dgruseck/master
[Android] Add the ability to remove notifications based on the tag
2018-07-20 11:35:08 +01:00
Michael Diarmid
bbe92bc313 Merge pull request #1324 from aMarCruz/fix-studio-unresolved-errors
Fix "Failed to resolve" errors in Android Studio 3.3
2018-07-20 11:20:18 +01:00
Michael Diarmid
7acc1f78f2 Merge pull request #1312 from damienix/1308-fix-scheduled-notifications-after-reboot
[Android] Fix rescheduling notification on phone reboot
2018-07-20 11:16:19 +01:00
Michael Diarmid
408f998407 Merge pull request #1294 from dluksza/fix-past-date-scheduling
Honor repeatInterval when rescheduling outdated notication
2018-07-20 11:14:02 +01:00
aMarCruz
50e5a137b4 Fix "Failed to resolve" errors in Android Studio 3.3 2018-07-19 18:56:43 -05:00
Michael Diarmid
ce513f20e9 Merge pull request #1295 from invertase/fix-1288
[config][android] Handle remote config error
2018-07-18 21:59:51 +01:00
Elliot Hesp
0a1ab7b8dd [config] Return null/nil values on success 2018-07-18 21:35:57 +01:00
Elliot Hesp
752a2e95a2 Merge branch 'master' into perf 2018-07-18 16:15:28 +01:00
Elliot Hesp
3bee4d53ac [perf][android] Check putAttribute was created and return boolean 2018-07-18 16:06:52 +01:00
Elliot Hesp
6b87ae7056 [perm][android] Fix tests + remove httpMetric instances on stop() 2018-07-18 13:22:00 +01:00
Elliot Hesp
5037248d3b [perm][android] Cleanup/return boolean values 2018-07-18 12:49:12 +01:00
Damian Skrodzki
bf1b3317f0 #1308 Fix rescheduling notification on phone reboot 2018-07-18 00:39:03 +02:00
Salakar
a88fa18b68 Merge remote-tracking branch 'origin/master' 2018-07-13 14:03:28 +01:00
Salakar
96b8372873 [android] fixes 1012 2018-07-13 14:03:20 +01:00
David Gruseck
7f0d4ac10e merge master 2018-07-13 09:29:10 +02:00
Elliot Hesp
fc39b35e1a [config][android] Handle success value to match ios 2018-07-12 13:44:37 +01:00
Elliot Hesp
54743d945d [config][android] Explicitly handle task exception 2018-07-12 13:28:58 +01:00
Elliot Hesp
2c776a60e8 [perf] Return Promise types 2018-07-12 13:25:11 +01:00
Dariusz Luksza
c17cc50229 Properly compute new schedule date when old is in past 2018-07-11 18:11:56 +02:00
Dariusz Luksza
9144314eac Warn about changing notification schedule date 2018-07-11 17:39:32 +02:00
Dariusz Luksza
11ccbb42f6 Honor repeatInterval when rescheduling outdated notiication 2018-07-11 17:05:27 +02:00
Bilal Syed
c70af86e2e [Android] Fix getInitialLink() is NULL 2018-07-11 15:30:35 +03:00
Michael Diarmid
886efcaa62 Merge pull request #1276 from ifsnow/fix-android-schedule-date
[Android] Fix for setting past time in the scheduling.
2018-07-11 00:56:20 +01:00
Elliot Hesp
90bbb972ea [perf][android] Refactor with Trace/HttpMetric 2018-07-10 20:11:07 +01:00
Salakar
af43576da5 [auth][android] fix for #1249 2018-07-09 13:19:02 +01:00