Commit Graph

2299 Commits

Author SHA1 Message Date
Salakar
9de4b4431a [tests][types] create flow-typed/firebase for use in testing app 2018-09-21 00:01:42 +01:00
Salakar
de4f5f6559 [tests] misc project config 2018-09-21 00:00:46 +01:00
Salakar
3ac9311eaa [firestore] remove unnecessary intern fn _offDocumentSnapshot -> EE already returns a subscription instance with a remove();
[firestore] additionally refactor unsubscribe so it can be called if an error is received on subscribing
2018-09-20 18:13:07 +01:00
Salakar
0e72881bff 5.0.0-rc4 v5.0.0-rc4 2018-09-20 17:16:36 +01:00
Michael Diarmid
009e080415 Merge pull request #1509 from invertase/firestore-array-contains
[firestore] 'array-contains' query support
2018-09-20 17:12:05 +01:00
Salakar
197a26d8c4 [tests][firestore] remove only 2018-09-20 17:11:01 +01:00
Salakar
a8130d7c3d [tests][firestore] add where array-contains tests 2018-09-20 16:58:40 +01:00
Salakar
75dc609047 [tests][firestore] fix documentReference tests 2018-09-20 16:36:22 +01:00
Salakar
5c51407709 [tests][firestore] re-write onSnapshot tests to remove race conditions 2018-09-20 16:25:49 +01:00
Salakar
f5ba4bfb7b [firestore][internals] remove _offCollectionSnapshot - not required as subscriptions already return an instance with a remove 2018-09-20 16:22:38 +01:00
Salakar
eb1f0acda6 [tests] update podfile lock 2018-09-20 14:16:09 +01:00
Salakar
0c9435af33 [tests][firestore] cleanup tests & helpers - wip 2018-09-20 13:21:47 +01:00
Salakar
bf78fd8775 [firestore][types] 'array-contains' support 2018-09-20 13:20:55 +01:00
Salakar
19283b92d0 [firestore][js] 'array-contains' support 2018-09-20 13:20:25 +01:00
Salakar
12eaea7ff4 [firestore][android] 'array-contains' support 2018-09-20 13:19:37 +01:00
Salakar
38b172835a [firestore][ios] 'array-contains' support 2018-09-20 13:19:20 +01:00
Salakar
68fa17ed56 5.0.0-rc3 v5.0.0-rc3 2018-09-20 10:31:24 +01:00
Salakar
9246395adc Merge remote-tracking branch 'origin/master' 2018-09-20 10:23:43 +01:00
Salakar
4f7ca7f072 [notifications] fix for #1445 - thanks @rahulgi for helping debug <3 2018-09-20 10:23:30 +01:00
ganeshub
bcc31ad631 Fix for Invites Module error requestCode must be in 16 bits (#1474)
changed REQUEST_INVITE to value below 2^16 to fix error requestCode must be in 16 bits error
Issue is here: https://github.com/invertase/react-native-firebase/issues/1458
2018-09-19 15:19:35 +01:00
Salakar
5fefab5b35 [tests] update podfile lock 2018-09-19 13:47:55 +01:00
Salakar
c7e0effddd 5.0.0-rc2 v5.0.0-rc2 2018-09-18 14:45:38 +01:00
Salakar
7ef3f951f1 [notifications] temp fix for #1393, #1445 & #1481 - cc @ryanggrey for later review in follow up PR 2018-09-18 14:20:52 +01:00
Salakar
84c860dd7d Merge remote-tracking branch 'origin/master' 2018-09-17 04:59:21 +01:00
Salakar
24979724cc [tests] fix coverage issue - temp revert to .babelrc file until metro PR lands 2018-09-17 04:59:12 +01:00
Michael Diarmid
071442df11 Merge pull request #1493 from invertase/auth-settings
[auth] Implement  `firebase.auth.AuthSettings`
2018-09-16 23:19:47 +01:00
Salakar
7807ef2629 [types] firebase.auth.AuthSettings 2018-09-16 23:08:13 +01:00
Salakar
dc0a62402f [tests] misc project config 2018-09-16 23:01:11 +01:00
Salakar
324aaf6792 [auth][ios] apply Google c++ code style guide 2018-09-16 23:00:48 +01:00
Salakar
62e2c42ec6 [tests][android] disable bundle deltas - TODO move to Jet 2018-09-16 22:56:26 +01:00
Salakar
2b597ce896 [android][auth] signInWithPhoneNumber now provides a verificationId for confirmResult usage... 2018-09-16 22:55:35 +01:00
Salakar
6b0146e3dd [tests][auth] set firebase.auth.AuthSettings settings before running Phone Auth tests 2018-09-16 21:39:51 +01:00
Salakar
20d209ebcf [android][auth] implement AuthSettings => setAutoRetrievedSmsCodeForPhoneNumber 2018-09-16 21:39:15 +01:00
Salakar
3f9f632eae [auth] implement firebase.auth.AuthSettings 2018-09-16 21:37:48 +01:00
Salakar
abd80cf5ef [tests] misc linting 2018-09-16 17:59:04 +01:00
Salakar
c8abdd53d0 [tests][auth] ensure signed out state before each auth test 2018-09-16 17:58:01 +01:00
Salakar
fb57495a15 [tests][auth] add signInWithPhoneNumber tests 2018-09-16 17:57:18 +01:00
Salakar
485eed0238 [tests][ios] update url scheme for phone auth testing 2018-09-16 17:55:04 +01:00
Michael Diarmid
6305f15458 Merge pull request #1476 from oblador/updatePhoneNumber
[auth] Support updatePhoneNumber
2018-09-16 13:12:36 +01:00
Salakar
b9ebe1faf1 [tests] misc 2018-09-15 19:28:03 +01:00
Michael Diarmid
a5ba251e3a Merge pull request #1491 from invertase/notifications-foreground-check
[android][utils] `isAppInForeground` not accounting for React Native LifecycleState
2018-09-14 22:02:34 +01:00
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
Michael Diarmid
58d76d370f Merge pull request #1472 from invertase/detox9-metro-preset
RN 57
2018-09-12 21:37:06 +01:00
Salakar
ae8ac05302 RN 57 2018-09-12 21:36:17 +01:00
Salakar
84165257ce [tests] update Jet to ^0.1.0 2018-09-12 21:06:36 +01:00
Salakar
93d39412f5 [tests] refactor to use latest Jet setup 2018-09-12 21:05:48 +01:00
Salakar
953484a334 [tests] update to RN 57 release 2018-09-12 18:00:06 +01:00
Salakar
351e4e8136 [tests] switch to latest native jet package names 2018-09-12 12:46:46 +01:00
Joel Arvidsson
b3c24809ac Add updatePhoneNumber to TS type definitions 2018-09-11 16:39:18 +02:00
Michael Diarmid
1e80ad3478 Merge pull request #1346 from Storr-co/storage-typings
[typescript] Update storage typings
2018-09-11 10:55:01 +01:00