Commit Graph

2409 Commits

Author SHA1 Message Date
Salakar
c75b722c53 [tests][firestore] add document SnapshotError tests 2018-09-21 00:13:05 +01:00
Salakar
f9e9179242 [tests][firestore] add collection SnapshotError tests 2018-09-21 00:12:46 +01:00
Salakar
7041403c4d [firestore] implement SnapshotError 2018-09-21 00:11:56 +01:00
Salakar
3ab4cf439e [firestore] document onSnapshot now correctly returns a valid instance of error... and handles errors even if no observer 2018-09-21 00:11:28 +01:00
Salakar
614cb61818 [firestore] collection onSnapshot now correctly returns a valid instance of error... and handles errors even if no observer 2018-09-21 00:10:55 +01:00
Salakar
fef70f3235 [internal] expose log on ModuleBase 2018-09-21 00:08:28 +01:00
Salakar
0c53da4ce8 [firestore] refactor flow types 2018-09-21 00:07:50 +01:00
Salakar
8a9bd700bb [common] NativeError class implementation 2018-09-21 00:04:14 +01:00
Salakar
6dcba98e14 [functions][js] HttpError can now correctly extend Error 2018-09-21 00:03:00 +01:00
Salakar
6ea5040950 update eslint dev deps 2018-09-21 00:02:05 +01:00
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