Commit Graph

310 Commits

Author SHA1 Message Date
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 c558af6480 Bump to final versions of Firestore iOS and Android libraries 2017-10-03 17:23:28 +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
Karlis Cudars cc53fd2922 Android fix: Duplicate dependency error. 2017-09-20 21:05:00 +03:00
Chris Bianca f7b051aaed [docs] Remove unnecessary references to analytics dependency (now built into core) 2017-09-18 08:29:31 +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
Omer Levy 79090f59a6 Merge commit 'a129994' into omer_links 2017-08-31 19:19:25 +03:00
Chris Bianca 49dbf0ad73 [android] Update shortcut badger version to support more devices 2017-08-31 09:21:10 +01:00
Chris Bianca c3f32e54e3 [db] Clean up old files 2017-08-25 17:38:24 +01:00
Chris Bianca 43ff0b91f3 [android][auth] Fix signOut not sending onAuthStateChanged event 2017-08-25 14:39:13 +01:00
Chris Bianca 81b631f111 [android] Phone auth implementation 2017-08-25 12:16:23 +01:00
Salakar 93079c2f01 [auth][js][android] remove EE based phone auth implementation 2017-08-23 23:19:11 +01:00
Chris Bianca e52e012e5e [android][database] Combine snapshotToMap methods 2017-08-22 17:31:20 +01:00
Salakar e1c0dccb31 [auth][android] fixed incorrect key name breaking auto verify 2017-08-22 17:19:55 +01:00
Salakar 8958e47e36 [database][android] misc cleanup from previous iterations of listener registration logic 2017-08-22 16:01:25 +01:00
Omer Levy 64fb4c1889 Add short links creation 2017-08-21 19:20:44 +03:00
Omer Levy b714b0a4d9 Add Long links creation 2017-08-20 17:57:06 +03:00
Salakar fd474d5adb [android][auth] phoneAuth via EE implementation 2017-08-19 05:22:07 +01:00
Salakar b088d6e683 [android][build] added groovy code to detect duplicate dex build failures and log out a help section
[android][firebase-sdk] upgraded to 11.2.0
2017-08-18 21:03:44 +01:00
Salakar b322af0f40 [android][database] final cleanup of RNFirebaseDatabaseReference for v3. 2017-08-17 16:25:29 +01:00
Salakar 887823162a [android][database] cleanup & implement .off() native functionality 2017-08-16 21:35:58 +01:00
Salakar e4d27029b9 [js][android] database sync tree implementation with adjusted tests 2017-08-15 21:29:50 +01:00
Salakar 98ebd8bf66 [android][database] 'on' cancellation now correctly use internal error parser 2017-08-14 18:40:11 +01:00
Salakar f1709970e9 [database][wip] on/off logic refactor - heavily still wip so things still to change 2017-08-14 11:05:49 +01:00
Salakar 0675aa076d Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
# Conflicts:
#	ios/RNFirebase/admob/RNFirebaseAdMob.m
#	ios/RNFirebase/database/RNFirebaseDatabase.h
#	ios/RNFirebase/database/RNFirebaseDatabaseReference.m
#	lib/modules/admob/index.js
#	tests/ios/Podfile.lock
2017-08-12 19:07:51 +01:00
Salakar 913bb4e500 [android][database] updated keepSynced to now work with modifiers 2017-08-05 21:42:36 +01:00
Salakar 6298b86557 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
# Conflicts:
#	ios/RNFirebase.xcodeproj/project.pbxproj
2017-08-05 19:28:29 +01:00
Chris Bianca 4f24f17eb5 [android] Support RN 0.47.0 breaking changes 2017-08-03 08:54:10 +01:00
Chris Bianca a785b050db [database][ios][wip] Replicate Android changes on iOS 2017-08-02 16:51:57 +01:00
Salakar b935034592 [database][wip] misc multi-app 2017-08-02 10:38:30 +01:00
Salakar e3d1261973 [database][wip] refactor & improvements to add support for multiple apps 2017-07-30 07:34:41 +01:00
Salakar 33470419ed Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps 2017-07-20 09:59:52 +01:00
Chris Bianca 46772d253d [android][ios][database] Add missing setPriority and setWithPriority methods 2017-07-19 18:18:16 +01:00
Chris Bianca 18b9a25ed5 [links] Start work on DynamicLinks support 2017-07-19 12:32:17 +01:00
Salakar 03377255f6 [core][both] added delete app method (android is just a stub method as the firebase sdk does not support it) 2017-07-18 06:02:53 +01:00
Salakar e96c5db8d1 [auth][android] remove `firebase` providerData from user responses, see: https://github.com/firebase/firebase-ios-sdk/issues/140 2017-07-18 06:01:31 +01:00
Salakar 075cd690ce [android][ios][core] initialize app parameters no longer prefixed by platform name i.e iosClientId becomes clientId. Use react native platform module to provide platform specific options. 2017-07-17 19:43:36 +01:00
Salakar a0c42c7d39 [android][auth] fix unlink method - missing appName / targeted app instance after master merge 2017-07-17 18:23:57 +01:00
Salakar 9a3e22431b [android][app] apps initialized natively now automatically initialized js side - via react module getConstants 2017-07-17 17:36:50 +01:00
Salakar ef259fbbc0 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps 2017-07-17 17:35:16 +01:00
Salakar 97447dab5e [android][auth] implemented missing 'unlink' method 2017-07-12 16:26:02 +01:00
Salakar b9b9de5739 [android][config] removed appName requirement on enableDeveloperMode - native SDK's don't support multiple apps for remote config 2017-07-12 16:14:11 +01:00
Salakar 282f953f52 [both] continued work on multi app support - storage now full supported and auth WIP 2017-07-12 15:49:33 +01:00
Salakar 82a2afd59b [android][database] switch to SparseArray for database references 2017-07-12 13:48:21 +01:00
Salakar c6773dc808 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
# Conflicts:
#	android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuth.java
2017-07-12 13:39:29 +01:00
Salakar 0898f0913d [js][ios][android][auth] checkActionCode now returns an actionType string in the result 2017-07-12 12:59:35 +01:00
Salakar fd93d24e1a [js][ios][android][auth] checkActionCode implemented 2017-07-05 14:56:18 +01:00
Salakar 08f4f0c97b [js][ios][android][auth] applyActionCode implemented 2017-07-05 14:16:35 +01:00
Salakar 0dda8d9174 [js][ios][android][auth] confirmPasswordReset implemented 2017-07-04 18:22:18 +01:00
Salakar 2f67e8b35b [both][database] all 'once' event types now supported - not just 'value' 2017-07-04 16:17:42 +01:00
Salakar 9572538af0 [ios][database] added support for all eventTypes in ref.once(eventType) 2017-07-04 14:13:49 +01:00
Salakar f97db8eba1 more work on multiple apps support 2017-07-04 13:05:19 +01:00
Salakar ec22e510bc more work on multiple app initialization 2017-06-30 17:23:32 +01:00
nico1510 e4c61f61da removed unused import 2017-06-29 19:34:15 +02:00
nico1510 2129f32db6 fixed customMetadata android 2017-06-29 19:32:40 +02:00
Salakar 80ae8425ce started work on multiple app initialization 2017-06-29 17:24:34 +01:00
Elliot Hesp c22fb3911f [admob] Add openDebugMenu support 2017-06-27 15:14:02 +01:00
Salakar 524d00d1b3 [build/ci] update buddybuild postclone script & build tools version 2017-06-22 14:35:23 +01:00
Elliot Hesp 54bf957cb3 [admob] Support 11.0 VideoController methods 2017-06-20 12:19:26 +01:00
Elliot Hesp 3d226dad21 [android][admob] Change bannerEvent to onBannerEvent to match iOS 2017-06-16 17:47:32 +01:00
Chris Bianca 2fdb73656e [android][database] Fix hanging db when querying object with large numerical keys 2017-06-16 13:10:11 +01:00
Elliot Hesp 663bf3c65f [android][database] Pass previousChildName to snapshotToMap 2017-06-16 09:31:58 +01:00
Elliot Hesp 3809fa8f63 [auth] Pass previousChildName back to callback 2017-06-15 14:55:52 +01:00
Elliot Hesp 840f6b0ced [android][auth] Update code regex pattern to handle messages contained within the code brackets 2017-06-15 12:47:40 +01:00
Elliot Hesp 1ef1d6f079 Updated documentation to match latest Firebase changes 2017-06-12 14:45:34 +01:00
Elliot Hesp 262b02cb2b [android] Upgrade project to FB v11.0.0 2017-06-12 14:43:04 +01:00
Elliot Hesp 57e6463789 [admob][android] Fix testDevices not being loaded into request 2017-06-07 12:36:55 +01:00
Elliot Hesp c710f135ce [admob][android] Support multiple test devices 2017-06-05 14:12:49 +01:00
Elliot Hesp c61bddeb43 [admob][android] Support re-rendering Banner/NativeExpress with new size/unitId/request/videoOptions 2017-06-05 10:03:05 +01:00
Elliot Hesp e12567e57f [admob][android] Add initialize method + documentation 2017-06-01 10:22:15 +01:00
Elliot Hesp ad68ccc9af [admob][android] Add NativeExpress & RewardedVideo classes 2017-05-31 16:40:26 +01:00
Elliot Hesp 5a9a7ea556 [admob][android] Implement VideoOptions + AdRequest into all advert types 2017-05-31 16:33:08 +01:00
Chris Bianca abf17d8d7f [android] Split into separate packages for each strand of Firebase functionality 2017-05-30 16:16:56 +01:00
Chris Bianca 0a645c2261 [messaging][android] Bit of tidy up of Android messaging; Update messaging event names to match iOS 2017-05-30 09:52:04 +01:00
Elliot Hesp e6af87209a [admob][android] Implement RewardedVideo 2017-05-27 17:03:40 +01:00
Elliot Hesp 608c1d8d6b [admob][android] Start implementation of Rewarded Video 2017-05-26 22:19:20 +01:00
Elliot Hesp d0e1ae3dec [admob][android] Cleanup 2017-05-26 17:54:34 +01:00
Elliot Hesp 5605610ba6 [admob][android] Handle all AdListener events 2017-05-26 17:53:12 +01:00
Elliot Hesp cf18f85720 [admob][android] Handle testing prop on banner component 2017-05-26 17:51:24 +01:00
Elliot Hesp b53c208911 [admob][android] Add RNFirebaseAdmob to modules list 2017-05-26 15:21:00 +01:00
Elliot Hesp 0e47c57317 [admob][android] Add admob module to base firebase object 2017-05-26 15:19:48 +01:00
Elliot Hesp b77ed93d2d [android] Add internet permission as default Mainifest requirement 2017-05-26 15:14:19 +01:00
Elliot Hesp 18774bbb40 [admob][android] WIP Basic view 2017-05-25 17:00:53 +01:00
Elliot Hesp 45f8f4076d [auth] Implemented fetchProvidersForEmail 2017-05-25 14:45:03 +01:00
Elliot Hesp 44ad37f5cb [pref][android] Cleanup class methods 2017-05-25 10:44:51 +01:00
Elliot Hesp 9ebda147f8 [perf][android] Add setPerformanceCollectionEnabled method 2017-05-25 08:41:43 +01:00
Elliot Hesp dd0c86aed5 [perf][android] Remove trace instance on stop 2017-05-24 17:01:55 +01:00