Commit Graph

259 Commits

Author SHA1 Message Date
Chris Bianca c5778c3d0d [notifications] JS tidy up 2018-02-23 16:11:59 +00:00
Chris Bianca 831eec82f7 [messaging][notifications] Move all notifications from messaging to notifications 2018-02-18 17:09:13 +00:00
Chris Bianca cd0ef4e3b7 [notifications] Continue android implementation 2018-02-15 14:59:21 +00:00
Chris Bianca 804a8e4c65 Merge branch 'master' into fcm-rewrite
# Conflicts:
#	lib/modules/messaging/index.js
#	lib/types/index.js
#	tests/ios/Podfile.lock
2018-02-14 15:28:15 +00:00
Chris Bianca 665cd1a277 [notifications] Continued work on iOS notification functionality 2018-02-14 15:10:20 +00:00
Chris Bianca 4e81527246 [types] Export app, auth, database and firestore types 2018-02-14 13:00:19 +00:00
Salakar 4c11dbfcce [tests] update tests firebase bootstrap to use `signInAnonymouslyAndRetrieveData` 2018-02-11 16:52:14 +00:00
Salakar 8e00b7e607 Merge branch 'master' of https://github.com/invertase/react-native-firebase into firestore-transactions 2018-02-11 16:17:38 +00:00
Chris Bianca a460d8f809 [fcm] Work in progress iOS message support 2018-02-02 12:05:51 +00:00
Chris Bianca 850f04914f [fcm] Android instanceid and core fcm support; iOS instance and basic fcm support 2018-02-02 08:40:48 +00:00
Panayiotis Lipiridis a74a70c12f Prettier json and md files as well 2018-02-01 12:52:39 +01:00
Chris Bianca 5675181de2 [tests] Update build.gradle to match our install instructions 2018-02-01 09:02:20 +00:00
Salakar cc1117f878 Merge branch 'firestore-transactions' of https://github.com/invertase/react-native-firebase into firestore-transactions 2018-02-01 05:35:08 +00:00
Chris Bianca d429db7e86 [fcm] First steps towards identifying the new API for messaging / notifications 2018-01-30 11:15:59 +00:00
Chris Bianca 0ace49ca81 [database] Fix wrong path from snapshot reference #679 2018-01-26 11:55:37 +00:00
Chris Bianca fba6380729 [js] Run prettier for the first time 2018-01-25 18:25:39 +00:00
Chris Bianca c3e5eb634e [tests][auth] Tests for onAuthStateChange, onIdTokenChanged and onUserChanged 2018-01-24 15:03:21 +00:00
Chris Bianca d370d002fb [auth] Add withData methods 2018-01-24 09:46:39 +00:00
Michael Diarmid c14d9292b0
Merge pull request #655 from invertase/auth-language
Set auth language #654
2018-01-17 15:23:41 +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
Salakar ca7924287a coverage now both platforms 2018-01-09 09:54:16 +00:00
Elliot Hesp f4d29b9136 [auth] Fix incorrect languageCode test 2018-01-06 15:17:59 +00:00
Elliot Hesp a8896bc9b8 [auth] Add language code tests 2018-01-06 15:14:49 +00:00
Chris Bianca 0fe2fec819 [internals] More tidy up and hiding of internal functions 2018-01-03 20:00:38 +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 3a497fa1a2 [ios] Update podspec location to resolve RN 0.50+ install issues 2017-12-15 15:14:05 +00:00
Chris Bianca b099d13730 [firestore][tests] Add another test case for #568 2017-12-07 11:06:27 +00:00
Chris Bianca efeb24d168 [crashlytics] Add first version of crashlytics functionality 2017-12-06 17:25:17 +00:00
Salakar daa988e8d2 [tests] enableLogging on firestore + database 2017-11-28 14:49:21 +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 1f5231cfba [tests] Fix incorrect imports 2017-11-28 09:20:57 +00:00
Salakar a94943bfc0 fix imports 2017-11-28 09:09:58 +00:00
Salakar 13c43f2efe [tests][android] update sdks to 11.6.2 2017-11-28 08:02:24 +00:00
Chris Bianca ff95c21b9d [typings] Continue work on flow 2017-11-23 17:29:40 +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 e6ea5348ff [tests][firestore] Add test cases for limit with onSnapshot 2017-11-07 13:15:16 +00:00
Chris Bianca cd911d2442 [tests][firestore] Add test for onSnapshot with a query applied 2017-11-07 12:49:59 +00:00
Salakar ba22aecff1 [tests][core] re-enable core app create test 2017-11-03 23:45:40 +00:00
Salakar edf8feb921 [tests] remove utils test 2017-11-03 23:39:35 +00:00
Salakar 868075d479 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	tests/ios/Podfile.lock
2017-11-03 23:28:09 +00:00
Salakar 935bfd0d9c [tests] update xcode project 2017-11-03 23:27:52 +00:00
Michael Diarmid 2d8f6314d4
Delete playground.js 2017-11-03 21:11:09 +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
Chris Bianca 2b2f3ce594 [ios] Centralise event sending to ensure all events validate bridge present before sending 2017-10-26 11:55:07 +01:00
Chris Bianca 403a7eefa0 [firestore] Use ms instead of ISOString for date conversion 2017-10-24 09:09:48 +01:00
Chris Bianca b12d9b29d0 [database][tests] Add tests for #489 2017-10-23 18:01:42 +01:00
Chris Bianca dd5230f42f [database] Tests add test for Issue 532 2017-10-23 17:17:03 +01:00
Chris Bianca 9822cb34d4 [database] Correctly differentiate limitToLast and other similar clauses 2017-10-23 17:03:49 +01:00
Chris Bianca a42194a32a [database][tests] Add tests for issue 521 2017-10-23 12:23:00 +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
Chris Bianca fc3fc6d0d2 [firestore][android] Correctly process date time zones 2017-10-18 14:29:37 +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 f348ba8a8c [firestore] Support FieldValue.delete() and FieldValue.serverTimestamp() 2017-10-12 09:00:46 +01:00
Chris Bianca 7c95ceca5b [firestore][ios] Type map changes for iOS 2017-10-10 17:22:12 +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 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
erezrokah 98ade4d161 change tests to use url-parse 2017-10-08 18:05:48 +03:00
erezrokah 64ba939361 change test to use url-parse and query-string 2017-10-08 16:53:20 +03:00
Omer Levy 49a54ebedc [tests] remove unnecessary promise resulotions and add fetch to the .eslintrc 2017-10-08 16:25:02 +03:00
Omer Levy 2f233a64fe [android] fix a broken test 2017-10-08 04:26:21 +03:00
Omer Levy af47f7ca03 merge master into omer_links 2017-10-08 03:52:19 +03:00
Omer Levy 20d414652b [ios] fix link creation API, reject invalid arguments on creation and fix tests 2017-10-07 18:00:36 -04:00
Salakar 0eb38c4593 [tests][core] fixed broken test 2017-10-07 03:07:00 +01:00
Salakar 1d2549556b [tests][android] add perf package back into initialized modules 2017-10-07 01:53:05 +01:00
Omer Levy de6904e6f4 [android] validation of dynamicLinkInfo parameters, force using androidPackageName and tests fixes 2017-10-06 14:56:03 +03: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
Omer Levy 9e26d042d3 merge master into omer_links 2017-10-05 20:07:24 +03:00
Omer Levy 9d424f6e63 add links tests and support them on android 2017-10-05 17:51:37 +03:00
Salakar 870cb4ebe1 [tests] update to rn 49.1 2017-10-05 05:21:09 +01:00
Chris Bianca 5d6f43a540 [firestore][android] Correctly deserialise firestore arrays 2017-10-04 18:58:48 +01:00
Salakar 4877b80a8a [tests] ios project misc changes 2017-10-04 16:07:59 +01:00
Chris Bianca 592e6578c3 [android] Enable multidex 2017-10-03 18:02:33 +01:00
Chris Bianca c558af6480 Bump to final versions of Firestore iOS and Android libraries 2017-10-03 17:23:28 +01:00
Chris Bianca d94abaa77c Re-run react-native link to check all packages are installed correctly 2017-10-03 16:02:13 +01:00
Chris Bianca c1ecf22a38 Fix NetInfo RN 0.49 deprecation 2017-10-03 15:54:03 +01:00
Chris Bianca 5e404ca31d Merge commit '0470f4f4fcf74407ad1e070091c4a542dc8378a5'
# Conflicts:
#	tests/ios/Podfile.lock
2017-10-03 15:34:08 +01:00
Salakar 0470f4f4fc [tests] remove delete() app test - android not supported 2017-10-03 14:17:36 +01:00
Salakar c06fbf115a [tests] upgraded tests app to latest RN, removed broken toasts module that was causing a crash on boot and switched to using prop-types module 2017-10-03 14:09:09 +01:00
Chris Bianca 51074efdca Merge commit '49d29b53f21e530f5c918e472db93ee856947426' 2017-10-03 10:33:18 +01:00
Chris Bianca 22f7d77f54 [firestore] Add collection `onSnapshot` support 2017-10-03 10:12:25 +01:00
Salakar 49d29b53f2 [tests][js] phone-auth example/testing code 2017-10-03 10:08:51 +01:00
Chris Bianca cda1c27b5c [firestore][android][js] Add document `onSnapshot` support plus tests 2017-10-02 13:11:38 +01:00
Chris Bianca b4743ffa8b [firestore][tests] Tests for most of the current functionality 2017-09-28 17:48:13 +01:00
Chris Bianca 6060c36c1c [firestore][ios] Add initial iOS functionality 2017-09-28 13:48:28 +01:00
Chris Bianca bf35c349ae [firestore][tests] Get first collection tests working on Android 2017-09-27 15:41:25 +01:00
Salakar 86121969de [tests][android] added android O permission prompts 2017-09-25 18:35:43 +01:00
Salakar 46d51ef5ce [tests] upgrade RN versions 2017-09-25 18:34:01 +01:00
Salakar eff42444a7 [tests] added coverage support 2017-09-25 18:33:03 +01:00
Chris Bianca 83faa86333 [auth] Add unsupported method errors for auth() and User 2017-09-23 16:14:35 +01:00
Chris Bianca 1564973454 [tests] Fix database push test 2017-09-21 17:38:12 +01:00
Chris Bianca 264ff496a0 [tests] Fix downloadUrl 2017-09-21 17:19:16 +01:00