Commit Graph

282 Commits

Author SHA1 Message Date
Chris Bianca 285e31df65 [auth] Remove superfluous getCurrentUser method which doesn’t exist in API 2018-01-16 17:39:27 +00:00
Chris Bianca 5e062868fc [firestore] Add FieldPath support to DocumentSnapshot and Query 2018-01-11 18:28:14 +00:00
Elliot Hesp 9d47709ffa Merge with master 2018-01-06 14:47:11 +00:00
Chris Bianca a03c445e0c [auth] Add support for state in email actions 2017-12-07 12:36:51 +00:00
Chris Bianca efeb24d168 [crashlytics] Add first version of crashlytics functionality 2017-12-06 17:25:17 +00:00
Marcel Friedrich 22ace9e3ed add smartbanner landscape for iOS 2017-12-03 19:15:26 +01:00
Elliot Hesp 0083ef7a66 [auth][android] Add languageCode getter 2017-11-30 11:41:40 +00:00
Elliot Hesp 8511705d8e [auth][android] Add methods to set the auth language via code or device language 2017-11-30 10:02:01 +00:00
Salakar 66a550b755 [android][database] add enableLogging warning messages if called after db usage 2017-11-28 14:47:36 +00:00
Salakar 99dfdfc982 [android][database] fix boolean issue 2017-11-28 12:27:38 +00:00
Salakar a94943bfc0 fix imports 2017-11-28 09:09:58 +00:00
Salakar 11e5bc2ae7 [android][firestore] added `enableLogging(boolean)` method 2017-11-28 07:41:37 +00:00
Akshet Pandey 802c54ade8 [android][messaging] Handle SecuritException in cancelAllLocalNotifications 2017-11-20 16:58:55 -08:00
Salakar 33e06f9b6e [android][database] misc todo 2017-11-08 16:09:39 +00:00
Salakar 621df87145 [android][database] added `enableLogging(boolean)` method 2017-11-08 15:59:55 +00:00
Salakar a4ca30a66f [android][database] added `setPersistenceCacheSizeBytes(bytes: integer);` 2017-11-08 11:43:59 +00:00
Salakar dda01cd8cf [android][database] added `enableLogging(boolean)` method 2017-11-08 11:43:03 +00:00
Chris Bianca 42987d2c4d Merge commit '8b54d964f8cec4d58f338f6aa2a1d5322a54fadf'
# Conflicts:
#	android/src/main/java/io/invertase/firebase/storage/RNFirebaseStorage.java
2017-11-03 08:04:32 +00:00
Peter Oxenham cf934908a3 Issue #572 - Refactored to get upload progress to report total bytes correctly 2017-11-03 09:44:04 +10:00
Chris Bianca 0391b2834d [android][storage] Fix for putFile with a content:// stream 2017-11-02 11:20:24 +00:00
Peter Oxenham 7dba72a377 Issue #572 - Fix for Storage.putFile() with content:// paths 2017-11-02 13:26:09 +10: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 c2d25724ff [auth][android] Work around for native SDK missing phone number on provider data 2017-10-27 11:10:02 +01:00
Chris Bianca 31594756cc [auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging 2017-10-27 11:00:06 +01:00
Chris Bianca f467e2d904 [auth][android] Cache auto-verified credential for use on the native side 2017-10-26 18:17:49 +01:00
Chris Bianca 44278f59cc [auth][android] Make sure email field is populated for password providers 2017-10-26 17:06:34 +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
Chris Bianca 2c7c768522 [firestore][android] A further fix for date / timezone handling 2017-10-23 09:15:51 +01:00
Chris Bianca fc3fc6d0d2 [firestore][android] Correctly process date time zones 2017-10-18 14:29:37 +01:00
Omer Levy 252b879ef4 fix reference compare to null 2017-10-18 10:30:24 +01:00
Omer Levy aa36487ec1 temporary fix to the reference off bug 2017-10-18 10:30:24 +01:00
Chris Bianca 2d35514287 [firestore] Cleanup unused methods 2017-10-18 10:29:46 +01:00
Omer Levy 11de8dd5a9 fix reference compare to null 2017-10-18 11:36:16 +03:00
Omer Levy e4ae2609da temporary fix to the reference off bug 2017-10-18 11:27:55 +03: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
Rajat Upadhyaya 6fb8b9812e #505 Retain timezone information while formatting serverTimestamp value 2017-10-13 15:29:45 +05:30
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
Salakar 9f07dfcd46 [android][firestore] `Long` type fix: #479 2017-10-08 16:36:01 +01:00
Omer Levy af47f7ca03 merge master into omer_links 2017-10-08 03:52:19 +03:00
Salakar a090bd3480 [android][utils] new utils() module - home of all non firebase utilities and library configuration options, including play services availability checks 2017-10-07 00:24:00 +01:00
Salakar b88d89b196 [android][firestore] log type rather than value on error 2017-10-06 22:37:27 +01:00
Salakar a26b6df623 [android][firestore] changes in type detection, as suggested by @mirkonasato 2017-10-06 21:45:54 +01:00
Salakar 99699e97bd [android] misc cleanup of redundant code / play services code 2017-10-06 16:19:37 +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 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 85b0886258 [android] fix link creation API and reject invalid arguments on creation 2017-10-05 17:48:54 +03:00
Chris Bianca 69debf7017 [firestore][ios] Add proper error codes 2017-10-05 10:32:14 +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
Salakar 3ac88d7a6a Revert "Revert "[android] Remove backwards compatibility for 0.47.0""
This reverts commit 25314483d7.
2017-10-04 19:54:50 +01:00
Salakar 3d960fa7ba Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-10-04 19:20:21 +01:00
Salakar 25314483d7 Revert "[android] Remove backwards compatibility for 0.47.0"
This reverts commit f68c6d168e.
2017-10-04 19:17:41 +01:00
Chris Bianca 5d6f43a540 [firestore][android] Correctly deserialise firestore arrays 2017-10-04 18:58:48 +01:00
Chris Bianca f68c6d168e [android] Remove backwards compatibility for 0.47.0 2017-10-03 16:02:41 +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
Chris Bianca cda1c27b5c [firestore][android][js] Add document `onSnapshot` support plus tests 2017-10-02 13:11:38 +01:00
Salakar 306b34d1e6 [auth][ios] add phone state event to supported events 2017-10-02 09:48:43 +01:00
Omer Levy 78ab8ebd1b [android] refactor link receive handling 2017-10-01 14:43:25 +03:00
Omer Levy 6c2c11ebb2 Merge branch 'master' into omer_links 2017-10-01 13:30:25 +03:00
Omer Levy 3db6a1839b merge master into omer_links 2017-10-01 02:17:22 +03:00
Salakar c9b49d4b7a [auth][android] misc cleanup/todo notes on verifyPhoneNumber 2017-09-30 20:08:02 +01:00
Salakar f3c7fa6ff7 [auth][android] working verifyPhone implementation 2017-09-30 19:21:26 +01:00
Omer Levy 6e18228ddd change initial link mechanism, pass intent to link handler fron onNewIntent and refactoring 2017-09-30 19:45:59 +03:00
Salakar fe74c36e5b [auth][android] attempt to get verificationId from writeToParcel 2017-09-29 11:34:44 +01:00
Salakar d3ea57f76d [android] add required permission annotations 2017-09-29 11:33:44 +01:00
Chris Bianca b4743ffa8b [firestore][tests] Tests for most of the current functionality 2017-09-28 17:48:13 +01:00
Chris Bianca f56435226d [firestore][android] Couple of fixes 2017-09-28 13:46:33 +01:00
Omer Levy 559b4f1329 [android] initial link - save the initial link and return it instead of returning null on repeated calls 2017-09-28 12:39:00 +03:00
Omer Levy 79ab970e0a [android] make link handling to be called on new intent and fix getInitialLink 2017-09-28 10:27:10 +03:00
Chris Bianca 8ac16931a6 [firestore][android] Rename a couple of classes 2017-09-27 17:25:20 +01:00
Chris Bianca 867a08da7b [firestore][android] Resolve a few issues with basic operations 2017-09-27 17:20:32 +01:00
Chris Bianca bf35c349ae [firestore][tests] Get first collection tests working on Android 2017-09-27 15:41:25 +01:00
Chris Bianca 52b70d58e3 [android] Add the first raft of Android support 2017-09-27 12:57:53 +01:00
Michele Bombardi c5d4ca6e9b e.printStackTrace -> Log.e(...) 2017-09-27 13:16:07 +02:00
Michele Bombardi d119de19d4 import java.io.IOException 2017-09-26 17:05:44 +02:00
Michele Bombardi 4c8581211a deleteInstanceId (Android only) 2017-09-26 16:58:47 +02:00
Michele Bombardi e6cb5fed60 deleteInstanceId feature (Android only) 2017-09-26 16:33:20 +02:00
Salakar 73f7ceadcc [auth][android] verifyPhoneNumber implementation 2017-09-25 23:04:25 +01:00
Salakar 7dbf61ef1e [auth][android] verifyPhoneNumber method stub 2017-09-25 18:36:47 +01:00
Omer Levy 79d18e95e0 [android] receive dynamic links support 2017-09-25 12:19:21 +03:00
Chris Bianca c59d64054d [auth] Add onIdTokenChanged method 2017-09-21 16:48:54 +01:00
Omer Levy d4a1304bea temporary disable link registration, methods rename, undo prettify in lib/firebase.js 2017-09-09 21:49:45 +03:00
salakar 3f9cd5435e Merge remote-tracking branch 'origin/master' 2017-09-07 03:02:39 +01:00
salakar f6928634f2 [android][ios][storage] UploadTaskSnapshot `downloadUrl` renamed to download `downloadURL` to match web sdk. fixes #379 2017-09-07 03:02:31 +01:00
Omer Levy 5728fa76bc [android] add short link suffix support 2017-09-04 18:35:21 +03:00
Omer Levy d3912fbc3e [android] Support RN 0.47.0 breaking changes and align to REST API 2017-09-01 17:51:42 +03:00
Brian M Hiss 32cb4155b4 [auth][phone] Allow for linkWithCredential() for PhoneAuthProvider. 2017-09-01 15:47:42 +08:00