Commit Graph

52 Commits

Author SHA1 Message Date
JinHao Chen cc8799b465 Implement multiple database shard support 2018-03-21 12:51:02 -07:00
Chris Bianca e791648c24 Tests for firestore and auth 2018-03-20 16:07:37 +00:00
Chris Bianca 7f8a486b40 [types] Fix transaction flow type errors 2018-03-08 11:13:21 +00:00
Michael Diarmid f1a7a13587
Merge branch 'master' into firestore-transactions 2018-03-05 00:05:37 +00:00
Chris Bianca f1b5626483 [firestore] Add unsupported network methods 2018-03-02 10:28:17 +00:00
Chris Bianca 49757eb56d A few more firestore tests 2018-03-01 19:04:13 +00:00
Salakar a21fc755a1 merge master 2018-03-01 16:32:44 +00:00
Salakar 3f4c59f81d [firestore][js] misc transactions internals changes 2018-02-23 03:02:17 +00:00
Salakar 5fb1ad6781 [firestore] fix issue with NaN serialization 2018-02-23 02:59:39 +00:00
Chris Bianca c57c6a74a8 [flow] Remove custom flow error tag 2018-02-17 12:55:19 +00:00
Chris Bianca 4e81527246 [types] Export app, auth, database and firestore types 2018-02-14 13:00:19 +00:00
Salakar a108d43e95 [firestore] remove transaction listener instance from class 2018-02-13 13:58:23 +00:00
Salakar 4c0b1639ab [firestore][js] initial draft of firestore transactions RNFB JS api 2018-02-11 23:37:21 +00:00
Chris Bianca fba6380729 [js] Run prettier for the first time 2018-01-25 18:25:39 +00:00
Chris Bianca 66a8ef6926 [firestore] Address issues with false query options 2018-01-24 14:22:54 +00:00
Chris Bianca 63859b311d [internals] Bump the library and tests app to the latest version of RN, React, etc 2018-01-16 17:08:52 +00:00
Chris Bianca 3dacb35291 [firestore] Add FieldPath support to DocumentReference and WriteBatch update methods 2018-01-12 11:49:45 +00:00
Chris Bianca 5e062868fc [firestore] Add FieldPath support to DocumentSnapshot and Query 2018-01-11 18:28:14 +00:00
Chris Bianca 301f2749c0 [internals] Migrate multi app flag to module configuration 2018-01-09 17:32:08 +00:00
Chris Bianca 80cb54ee6d [internals][types] Last part of internal refactor; Got rid of remaining flow errors 2018-01-05 17:20:10 +00:00
Chris Bianca 0fe2fec819 [internals] More tidy up and hiding of internal functions 2018-01-03 20:00:38 +00:00
Chris Bianca 1f29354145 [internals] Fix a couple of missing log references 2017-12-27 15:29:38 +00:00
Chris Bianca 61d7c3b2eb [internals] Move native events to individual modules to make it easier to see the relationship 2017-12-22 15:57:33 +00:00
Chris Bianca f2c2007fdc [internals] Start refactoring some of the internals to simplify, tidy up and also reduce flow type pollution 2017-12-22 15:24:31 +00:00
Chris Bianca 4c75e188f7 [firestore][typings] A few tweaks to match documentation 2017-12-15 11:46:37 +00:00
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 54e904e22f [js][firestore] added `enableLogging(boolean)` method 2017-11-28 07:42:16 +00:00
Chris Bianca ff95c21b9d [typings] Continue work on flow 2017-11-23 17:29:40 +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 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
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 403a7eefa0 [firestore] Use ms instead of ISOString for date conversion 2017-10-24 09:09:48 +01:00
Chris Bianca c3d44d6c74 [firestore] Correctly handle `undefined` values 2017-10-13 09:05:57 +01: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
Chris Bianca fac2272ac3 [firestore][android] Start work on type conversion to support DocumentReference, GeoPoint, Date, etc 2017-10-08 19:40:46 +01:00
Chris Bianca 46136e6c4d [firestore] Support `update` variations on DocumentReference and WriteBatch 2017-10-06 12:36:41 +01:00
Chris Bianca 2575fb4956 [firestore] Support all `onSnapshot` parameter options 2017-10-06 12:00:40 +01:00
Chris Bianca f350c2b3ed [firestore] Add metadata and bring methods in sync with web SDK reference 2017-10-05 10:18:24 +01:00
Chris Bianca 22f7d77f54 [firestore] Add collection `onSnapshot` support 2017-10-03 10:12:25 +01:00
Chris Bianca cda1c27b5c [firestore][android][js] Add document `onSnapshot` support plus tests 2017-10-02 13:11:38 +01:00
Chris Bianca 6060c36c1c [firestore][ios] Add initial iOS functionality 2017-09-28 13:48:28 +01:00
Chris Bianca 867a08da7b [firestore][android] Resolve a few issues with basic operations 2017-09-27 17:20:32 +01:00