Commit Graph

309 Commits

Author SHA1 Message Date
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
Elliot Hesp d0d09163df [perf][android] Add documentation 2017-05-24 12:51:44 +01:00
Elliot Hesp 66d7e3c944 [perf][android] Add perf module 2017-05-24 12:37:52 +01:00
Elliot Hesp a0d492ddac [perf][android] Move deps into app project, out of RNFirebase 2017-05-24 12:37:26 +01:00
Elliot Hesp fa6cbd342a [perf][android] Add performance monitoring dependancies 2017-05-24 08:42:08 +01:00
Elliot Hesp fe8c486dcb [config] Added setDefaultsFromResource method 2017-05-23 14:53:19 +01:00
Elliot Hesp fb90f444d9 Fix merge conflict 2017-05-23 14:10:07 +01:00
Elliot Hesp 25e8bb6d5a [config] Standardize ios & android 2017-05-23 14:08:59 +01:00
Elliot Hesp 80540fc26b [android][config] Remote Config Android implementation 2017-05-23 11:52:17 +01:00
Felix Clack 0eb14edfd8 Bump the Firebase version
There are more recent versions of the Firebase SDKs available, so this provides
a simple version bump.

To make this easier in future, I extracted the number to a variable.
2017-05-23 16:15:45 +10:00
Chris Bianca 9bf1de023d [android][storage] Prevent crash if the exception isn’t a StorageException 2017-05-18 11:49:27 +01:00
Salakar 7bea0a4155 [android] implement user.providerData 2017-05-12 17:21:24 +01:00
Chris Bianca dd0bf2219e [android] Protect against issue #102 2017-05-10 20:49:00 +01:00
Chris Bianca c4f8688348 [android][database] Fix issue #100 2017-05-10 20:44:28 +01:00
Aleck Greenham 6220d9d7dd [Android][Database] Fix #97 Stop logging com.google.firebase.database.DatabaseException 2017-05-09 07:00:17 +01:00
Elliot Hesp b4622006bf [android] Fix database limit type conversion 2017-05-03 09:25:29 +01:00
Chris Bianca 7c9b094f54 [android][database] Fix startAt and endAt 2017-05-02 13:56:50 +01:00
Chris Bianca bb26cb4e2c [android] More tidy up around multiple listeners 2017-04-26 17:27:36 +01:00
Chris Bianca ef306162b4 [js][android] Support multiple listeners on a single ref 2017-04-26 12:21:53 +01:00
Chris Bianca 05eec5fe7e [android] Remove unused imports 2017-04-10 09:53:17 +01:00
Chris Bianca baa198ea7d [js][android] Use GoogleApiAvailability to prompt the user to install Google Play Services if it is not installed 2017-04-10 09:50:42 +01:00
Salakar 90546aa7dd [android][storage] fix readable map already consumed error 2017-04-07 18:44:46 +01:00
Salakar bdf588e0e2 [js][android][ios][storage] uploadTask.on now correctly receives a success status event 2017-04-07 17:57:57 +01:00
Chris Bianca 9b38d9258e Bring Android updateProfile photoURL in line with web SDK and iOS naming 2017-04-05 09:09:45 +01:00
Salakar 91e9263965 [js][ios][android][messaging] full implementation of upstream send including RemoteMessage builder 2017-03-30 16:25:27 +01:00
Salakar 48e57d2065 [ios][android][auth] getToken now correctly accepts forceRefresh argument. Fixes #21. 2017-03-30 10:55:16 +01:00
Salakar e16b788ad7 [android][storage] storage implementation using react native promises 2017-03-29 17:50:25 +01:00
Chris Bianca 10656ce698 Add missing Android messaging file for local notifications; Document local notification setup 2017-03-27 13:48:50 +01:00
Salakar 5824e5405f [android][database] transaction lock condition 'awaits' now timeouts after 30 seconds if not signalled (forgot to include the handler originally also) 2017-03-24 23:36:01 +00:00
Salakar bb6b1aa7f2 [android,js][database] transactions support implemented 2017-03-24 22:53:56 +00:00
Salakar 7650ae42e4 [android,js] misc messaging 2017-03-21 11:26:16 +00:00
Salakar 2c0e8f4eaa [android][auth] implemented currentUser.updateProfile() method 2017-03-18 01:09:37 +00:00
Salakar 8d45bfdbf4 [android][auth] implemented currentUser.updatePassword() method 2017-03-18 00:40:55 +00:00
Salakar 5bcd492efc [android][auth] added sendEmailVerification and updateEmail methods 2017-03-18 00:30:26 +00:00
Salakar 2a0ffb5832 [android] implement currentUser.reauthenticate(credential) 2017-03-18 00:04:17 +00:00
Salakar 52713426d1 [js] implemented remaining auth providers on auth() : auth(). EmailAuthProvider, GithubAuthProvider, FacebookAuthProvider, TwitterAuthProvider and GoogleAuthProvider 2017-03-17 23:51:26 +00:00
Salakar 83e5d1f3d0 [android] implemented auth().link & signInWithCredential - for all providers, password, twitter, facebook, google and github 2017-03-17 23:33:55 +00:00
Salakar 48f6d90690 [android] added promiseRejectAuthException method to match ios 2017-03-17 22:00:13 +00:00
Salakar 856da83a80 [android, ios] first draft of full fcm implementation - ios still todo 2017-03-17 16:04:39 +00:00
Salakar 9f5b132f38 [android, ios] currentUser.getToken() - now uses promise and correctly returns a string 2017-03-16 12:35:03 +00:00
Salakar b6c406c7aa [android] link/linkPassword 2017-03-16 12:19:34 +00:00
Salakar afece365e4 [android] start of auth().currentUser methods refactor 2017-03-15 20:17:04 +00:00
Salakar a780f9677d [android] finished refactor of auth() methods, currentUser methods still TODO 2017-03-15 20:05:09 +00:00
Salakar 1874189e15 [android] fix case on authExceptionToMap 2017-03-15 18:17:57 +00:00
Salakar e54fb2a4bc [android] added additional logic to authExceptionToMap to try and cast exceptions to FirebaseAuthException. Sometimes this is unable to cast hence the previous version of this function, now tries both. 2017-03-15 18:09:14 +00:00
Salakar 1acbff834f [ios, android] fixed messaging() send() - now a promise on native - added stub method for ios as the existing one was empty 2017-03-15 14:00:28 +00:00
Salakar 6d52b6d4d3 messaging().getToken now correctly returns a string on both platforms 2017-03-15 12:57:36 +00:00
Salakar 0914a9341c [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +00:00
Salakar efb07c47c7 - moved user methods out of auth class into user class
- lint/flow
2017-03-13 20:27:44 +00:00
Salakar 7715b2c061 remove getToken calling from promiseWithUser (was getting called every auth method, not sure why it was here) 2017-03-13 20:14:17 +00:00
Salakar 15167a4f81 added auth method result interceptor - grab user objects and shim into currentUser 2017-03-13 20:02:44 +00:00
Salakar 2509e7484d - switched signInAnonymously to use RN promises native side
- created helper to convert auth exceptions into cleaner web equivalent error codes/messages
2017-03-13 17:23:41 +00:00
Salakar 50d176427f android/js: cleanup / remove redundant code 2017-03-10 18:12:46 +00:00
Chris Bianca 77a09f5810 Add Firebase Crash Reporting for iOS and Android 2017-03-10 14:18:07 +00:00
Salakar d86a3dff2a android: fixed getPriority value casting & cleaned up utils 2017-03-10 13:58:29 +00:00
Salakar f509dfedff android: bump firebase version to 10.2.0 2017-03-10 10:46:55 +00:00
Salakar 899dd1a3cb android: onCancelled should now remove event listeners - fixes hanging issue 2017-03-09 16:59:03 +00:00
Salakar b02bcbd9cf more error standardisation on android 2017-03-09 15:29:08 +00:00
Salakar 214928ba7f android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
Salakar 4d9255c3e9 misc formatting 2017-03-02 11:38:43 +00:00
Salakar c652d73c9f RNFirebase android 2017-03-02 11:30:08 +00:00