Commit Graph

329 Commits

Author SHA1 Message Date
Chris Bianca e6a01aedb3 Merge branch 'master' of https://github.com/invertase/react-native-firebase
# Conflicts:
#	lib/utils/SyncTree.js
2017-11-28 09:25:15 +00:00
Chris Bianca 5aa8435aff [firestore] Fix incorrect references 2017-11-28 09:21:41 +00:00
Salakar a94943bfc0 fix imports 2017-11-28 09:09:58 +00:00
Salakar 54e904e22f [js][firestore] added `enableLogging(boolean)` method 2017-11-28 07:42:16 +00:00
Chris Bianca d9b033f6c7 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-11-23 17:30:12 +00:00
Chris Bianca ff95c21b9d [typings] Continue work on flow 2017-11-23 17:29:40 +00:00
Elliot Hesp 78a2b0a81a
Merge pull request #603 from gyfelton/transaction-promise-resolve
Make sure the promise is resolved/rejected for transaction
2017-11-20 09:27:14 +00:00
Chris Bianca fbe73f5dcb [types] Get types properly exporting as part of the build 2017-11-17 16:17:27 +00:00
Chris Bianca 746faad043 [types] Start on auth flow typings 2017-11-17 14:22:46 +00:00
Chris Bianca f1d8bee5b0 [auth] Temp rename to allow capitalisation 2017-11-17 11:22:10 +00:00
Chris Bianca c4d7704623 [types] Missing firestore file 2017-11-17 11:08:04 +00:00
Chris Bianca 8bd9684644 [types] Get flow type working again; Fix majority of firestore type issues 2017-11-17 11:07:52 +00:00
Chris Bianca 5c43c88f6a [firestore][js] Correct flow type 2017-11-16 16:54:42 +00:00
Elton Gao 0c550f3586 Make sure the promise is resolved/rejected for transaction
Right now the following code will be broken:
```
async function() {
  await ref.transaction(
              function(foo) {
                 // deal with foo
              },
              function(error, committed, ss) {
                 // additional work on complete callback
              },
              true
          );
  // NOTE: Code from here will never execute because promise above never gets resolved
}
```
v2 is not returning at the point of calling onComplete, v3 code does
2017-11-09 13:06:51 -05:00
Chris Bianca 89ce31689e [auth][js] Add missing phoneNumber property 2017-11-09 15:18:09 +00:00
Salakar 7efb14f5b0 [js][database] added `enableLogging(boolean)` method to fix #525 2017-11-08 15:58:44 +00:00
Chris Bianca e6b8ce193c Merge branch 'v3.0.x' 2017-11-01 17:47:15 +00:00
Chris Bianca 270279551a [firestore] Correctly support dates, geopoints, DocumentSnapshots and other types in startAt, startAfter, etc 2017-10-31 22:18:07 +00:00
Chris Bianca 6ae0049338 [firestore] Correctly support dates, GeoPoints and other types in `where` clause 2017-10-31 15:32:08 +00:00
Chris Bianca 5e12700c35 Merge commit '36c936779b9badf72a0a3d789efafd2dcdb5ba36'
# Conflicts:
#	ios/RNFirebase.xcodeproj/project.pbxproj
#	package.json
2017-10-31 14:33:31 +00:00
Salakar bd4dc28391 change incorrect comment annotations 2017-10-29 01:27:45 +01:00
Salakar 07204789f0 Fix for #532 2017-10-29 01:10:34 +01:00
Chris Bianca 9a17379e0e [auth][js] Add in `onUserChanged` method 2017-10-27 14:05:19 +01:00
Chris Bianca e535a1ebaa [auth][js] Rename a few methods to make it easier to follow 2017-10-27 11:55:00 +01:00
Chris Bianca 807e581ec7 [auth][android][js] Stop removing all listeners when using phone auth 2017-10-27 11:54:36 +01:00
Chris Bianca 31594756cc [auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging 2017-10-27 11:00:06 +01:00
Chris Bianca 403a7eefa0 [firestore] Use ms instead of ISOString for date conversion 2017-10-24 09:09:48 +01:00
Chris Bianca 9822cb34d4 [database] Correctly differentiate limitToLast and other similar clauses 2017-10-23 17:03:49 +01:00
Chris Bianca 3d57cdc634 Merge branch 'v3.0.x'
# Conflicts:
#	docs/modules/authentication.md
#	package.json
2017-10-23 09:24:45 +01:00
Elliot Hesp 9e8281c39a [admob] move native component to singleton 2017-10-23 09:22:06 +01:00
Salakar 6d9ffb16a0 fix for #529 2017-10-23 09:22:06 +01:00
Elliot Hesp 54c92d0640 [admob] move native component to singleton 2017-10-20 19:39:45 +01:00
Salakar ffabe56b90 fix for #529 2017-10-19 14:46:02 +01:00
Chris Bianca bc1e827273 [database][js] Fix strict mode issue 2017-10-18 10:40:18 +01:00
Chris Bianca 31854bae5b [auth] Update auth providers `providerId` to match official SDKs 2017-10-16 11:12:40 +01:00
chrisbianca 101a426307 Merge pull request #481 from rmrs/omer_links
Dynamic Links Support
2017-10-13 18:27:53 +01:00
Chris Bianca c3d44d6c74 [firestore] Correctly handle `undefined` values 2017-10-13 09:05:57 +01:00
Benjamin Schell 2a509fe9c2 Update ConfirmationResult.js
Fix bug in ConfirmationResult.js: [ReferenceError: Can't find variable: _verificationId]
2017-10-12 14:46:10 -04:00
David Künnen cf1ac63d2c [firestore] Fix _metadata not defined error in DocumentSnapshot 2017-10-12 18:22:48 +02:00
Chris Bianca f348ba8a8c [firestore] Support FieldValue.delete() and FieldValue.serverTimestamp() 2017-10-12 09:00:46 +01:00
Chris Bianca a89e741581 [firestore] Bring document change in sync with web sdk 2017-10-10 17:48:53 +01:00
Chris Bianca 76d77da2e5 [firestore][android] Finish type mapping work for Android 2017-10-10 15:36:08 +01:00
Omer Levy fbdc733d53 flatten dynamicLinkInfo to the top-level, move the mandatory keys validation to the javascript from the native modules and some minor fixes 2017-10-10 16:22:03 +03:00
Omer Levy 08d467ff4d take out validateParameters from Links class 2017-10-09 23:53:53 +03:00
Omer Levy a085733e03 move invalid parameters validation to javascript and remove validation from android 2017-10-09 03:42:57 +03:00
Chris Bianca 1c81da466c Merge commit 'bc92ace8edef9d5ae4f9e5d6af5eccb8cfca4443' into firestore-types
# Conflicts:
#	android/src/main/java/io/invertase/firebase/firestore/FirestoreSerialize.java
2017-10-08 19:44:39 +01:00
Chris Bianca fac2272ac3 [firestore][android] Start work on type conversion to support DocumentReference, GeoPoint, Date, etc 2017-10-08 19:40:46 +01:00
Omer Levy 9758c99537 [docs] dynamic links docs fixes 2017-10-08 18:43:59 +03:00
Omer Levy af47f7ca03 merge master into omer_links 2017-10-08 03:52:19 +03:00
Salakar 4f5fdda1f0 [utils] remove rn48 breaking support issue 2017-10-07 13:14:45 +01:00