Commit Graph

212 Commits

Author SHA1 Message Date
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 91b7281d45 [both] re-enabled analytics, admob, crash & perf modules 2017-07-12 16:11:07 +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 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
Elliot Hesp d4328f3adb Merge branch 'master' of github.com:invertase/react-native-firebase 2017-07-06 10:22:23 +01:00
Elliot Hesp 22e511209a [admob] temp fix for duplicate subscriptions 2017-07-06 10:21:32 +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 333c449ab4 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-07-04 16:19:52 +01:00
Salakar d1196b98c4 [both][database] Fixed an issue where the reference from a child snapshot was being returned as the parent snapshot when listening to child events 2017-07-04 16:16:08 +01:00
Elliot Hesp ce0934d44c Merge branch 'master' of github.com:invertase/react-native-firebase 2017-07-04 15:40:03 +01:00
Elliot Hesp 92b3860230 [admob][ios] Fix an issue whereby interstitials on iOS could not be reused with the same adUnit ID 2017-07-04 15:39:56 +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
Salakar 80ae8425ce started work on multiple app initialization 2017-06-29 17:24:34 +01:00
Elliot Hesp 931a7943a1 Merge pull request #207 from hayanmind/feature/fix-crash-report
[crash] Support javascript plain error object in crash.report
2017-06-27 20:18:53 +01:00
Elliot Hesp c22fb3911f [admob] Add openDebugMenu support 2017-06-27 15:14:02 +01:00
Daehoon Kim 78262dcb32 Support javascript plain error object in crash.report 2017-06-26 14:30:17 +09:00
Elliot Hesp 7e3042cc92 Merge branch 'v2' of github.com:invertase/react-native-firebase into v2 2017-06-20 13:22:24 +01:00
Elliot Hesp 52d94763bb [ios][admob] Check AdMob exists 2017-06-20 13:22:09 +01:00
Elliot Hesp 54bf957cb3 [admob] Support 11.0 VideoController methods 2017-06-20 12:19:26 +01:00
Chris Bianca cd347383a4 [messaging] Correctly bind messaging listeners 2017-06-19 13:14:36 +01:00
Chris Bianca 782958d026 [messaging] Update typescript definition to match interface changes 2017-06-19 12:26:10 +01:00
Elliot Hesp 02be8a0d84 Merge branch 'v2' of github.com:invertase/react-native-firebase into v2 2017-06-19 09:38:47 +01:00
Chris Bianca 96d122f943 [messaging] Return function to remove listeners for onTokenRefresh and onMessage 2017-06-19 09:21:15 +01:00
Elliot Hesp d159d9bb6b [ios][admob] Implement NativeExpress 2017-06-16 17:40:05 +01:00
Elliot Hesp af5bf655fe [ios][admob] Implement Banner 2017-06-16 15:20:34 +01:00
Elliot Hesp 3809fa8f63 [auth] Pass previousChildName back to callback 2017-06-15 14:55:52 +01:00
Michael Diarmid 0edb79243a AuthResult fix
Fixes #144
2017-06-13 02:09:12 +01:00
Elliot Hesp 4c87131328 [crash][both] Add support for isCrashCollectionEnabled & setCrashCollectionEnabled 2017-06-12 14:26:56 +01:00
Elliot Hesp 9342a0e748 [admob][ios] Implement Rewarded Videos 2017-06-07 14:19:06 +01:00
Elliot Hesp 921eac06a4 [admob][ios] Finish up Interstitial with events + AdRequest handling 2017-06-07 12:37:32 +01:00
Elliot Hesp ac2091d890 [admob] Provide a default request for Interstitials & Rewarded Videos 2017-06-07 12:36:04 +01:00
Elliot Hesp c710f135ce [admob][android] Support multiple test devices 2017-06-05 14:12:49 +01:00
Chris Bianca d83e747b91 Merge commit '3f94ad5b99ef605a37062152f967ef36bbecef48' into v2 2017-06-05 09:59:28 +01:00
Richard B. Kaufman-López eed9ccbfd4 Fixes flow error 2017-06-01 19:15:46 -05:00
Elliot Hesp a6705dfb3d [admob] Add tests 2017-06-01 11:15:37 +01:00
Elliot Hesp e12567e57f [admob][android] Add initialize method + documentation 2017-06-01 10:22:15 +01:00
Elliot Hesp 35aeef460f Merge 2017-05-31 16:36:28 +01:00
Elliot Hesp 5a9a7ea556 [admob][android] Implement VideoOptions + AdRequest into all advert types 2017-05-31 16:33:08 +01:00
Chris Bianca a162a0d6f5 [js] Couple of additional checks for module existence 2017-05-31 15:45:14 +01:00
Chris Bianca a1cff881e1 [android][ios][js] Detect missing native module rather than using empty function 2017-05-31 15:22:15 +01:00
Chris Bianca 8c821e2612 [js] Only subscribe to auth if RNFirebaseAuth exists 2017-05-30 16:23:51 +01:00
Chris Bianca b3cd102077 [js][db] Rename .listeners 2017-05-30 12:46:28 +01:00
Chris Bianca ba24a80e09 [js] Fix permissions problem 2017-05-30 12:28:53 +01:00
Chris Bianca f82897218f [ios][js] Misc clean up 2017-05-30 11:44:06 +01:00
Chris Bianca abc4de2257 [messaging][iOS] Tidy up messaging and bring it in inline with latest version of Firebase Messaging (4.0.0) 2017-05-30 08:26:40 +01:00
Elliot Hesp 5b39ab3efe Cleanup utils 2017-05-27 17:31:00 +01:00
Elliot Hesp e4ee402aef [admob][android] Move RewardedEventTypes to statics 2017-05-27 17:27:22 +01:00
Elliot Hesp 9a944dffc5 Merge pull request #132 from invertase/admob
[admob][android] Implement RewardedVideo
2017-05-27 17:11:34 +01:00
Elliot Hesp e6af87209a [admob][android] Implement RewardedVideo 2017-05-27 17:03:40 +01:00
Elliot Hesp 4852cae988 [admob][android] Standardise adunit / adUnit 2017-05-27 17:03:09 +01:00
Elliot Hesp 9c2d4a73d6 [admob][android] Add dummy methods to AdRequest 2017-05-27 17:02:03 +01:00
Salakar 2993b9b697 [js][perf] remove logging - no logger attached to perf class so was red-boxing 2017-05-27 15:26:14 +01:00
Salakar b7b4febe3f [ios][admob] added stub modules 2017-05-27 15:24:51 +01:00
Michael Diarmid 5a62d9664b Merge pull request #131 from invertase/admob
Admob -> v2 Branch
2017-05-27 13:23:37 +01:00
Elliot Hesp 608c1d8d6b [admob][android] Start implementation of Rewarded Video 2017-05-26 22:19:20 +01:00
Elliot Hesp d9adef31a5 [admob][android] Add util to convert code + message to JS Error 2017-05-26 17:56:04 +01:00
Elliot Hesp 1b8a2826ac [admob][android] Implement shared event emitter @Salakar 2017-05-26 17:55:22 +01:00
Elliot Hesp d75405dbab [admob][android] Interstitial; Handle JS events from native 2017-05-26 17:54:09 +01:00
Elliot Hesp 0e47c57317 [admob][android] Add admob module to base firebase object 2017-05-26 15:19:48 +01:00
Elliot Hesp dd1262ca86 [admob][android] Export interstitial JS module 2017-05-26 15:18:57 +01:00
Elliot Hesp b1e9561633 [admob][android] Add custom Banner component wrapper 2017-05-26 15:18:09 +01:00
Salakar 6f81605616 [js][all] added nativeSDKMissing check for all modules - part of making all module native sdk's optional. 2017-05-25 23:39:06 +01:00
Elliot Hesp 18774bbb40 [admob][android] WIP Basic view 2017-05-25 17:00:53 +01:00
Elliot Hesp 154ff9bcf6 [auth] fetchProvidersForEmail Fix incorrect flow type 2017-05-25 15:30:39 +01:00
Elliot Hesp 45f8f4076d [auth] Implemented fetchProvidersForEmail 2017-05-25 14:45:03 +01:00
Elliot Hesp c609539747 [auth][js] Updated method names now removed/deprecated in the web SDK 2017-05-25 12:44:39 +01:00
Elliot Hesp 14199d6d10 Remove unused dep + file 2017-05-25 09:22:59 +01:00
Elliot Hesp 9ebda147f8 [perf][android] Add setPerformanceCollectionEnabled method 2017-05-25 08:41:43 +01:00
Elliot Hesp 4882123912 [perf] Linting fixes 2017-05-24 17:02:41 +01:00
Elliot Hesp 66d7e3c944 [perf][android] Add perf module 2017-05-24 12:37:52 +01:00
Elliot Hesp fe8c486dcb [config] Added setDefaultsFromResource method 2017-05-23 14:53:19 +01:00
Elliot Hesp 25e8bb6d5a [config] Standardize ios & android 2017-05-23 14:08:59 +01:00
Elliot Hesp b70eb274ee Apply config() module to RNFirebase 2017-05-23 11:50:44 +01:00
Akshet Pandey fdf60444fe Implement Firebase Remote Config for iOS 2017-05-19 16:17:28 -07:00
Alexander Kuttig db792b8857 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	ios/RNFirebase/RNFirebase.h
#	ios/RNFirebase/RNFirebaseAnalytics.h
#	ios/RNFirebase/RNFirebaseAuth.h
#	ios/RNFirebase/RNFirebaseCrash.h
#	ios/RNFirebase/RNFirebaseDatabase.h
#	ios/RNFirebase/RNFirebaseErrors.h
#	ios/RNFirebase/RNFirebaseMessaging.h
#	ios/RNFirebase/RNFirebaseStorage.h
2017-05-14 14:30:10 +02:00
Alexander Kuttig c35ed6f49d fixed storage task 2017-05-14 14:24:10 +02:00
Salakar 6c68d85261 [ios] added user `providerData` props 2017-05-12 13:13:17 +01:00
Salakar e6bd721617 [js] removed unused import 2017-05-12 12:05:07 +01:00
Ben Styles 477bd2bf54 initial commit 2017-05-10 17:37:03 +01:00
Aleck Greenham 9d5cc856c7 [Database] Add more accurate comments of expected behaviour of Reference.on() 2017-05-09 08:09:03 +01:00
Aleck Greenham 8d665542cc [Database] Standardise error messages and add context support for Reference.on()
- Make error messages raised by Reference.on() same as Web API
- Add support for context argument to Reference.on()
- Add tests for Reference.on()
- Add JSDoc comments for Reference.on() and some other minor methods
2017-05-06 14:33:55 +01:00
Salakar ef783f0d9f [js] crash and auth now use internal staticsOrInstance helper. 2017-05-02 10:39:23 +01:00
Ben Styles 80b519158f fixed some flow and eslint errors 2017-04-28 11:03:12 +01:00
Ben Styles 6cee2609b1 fixed some flow and eslint errors 2017-04-28 10:27:29 +01:00
Chris Bianca 7f7d5e8ec7 [js] Fix database cleanup function 2017-04-26 17:52:16 +01:00
Chris Bianca ef306162b4 [js][android] Support multiple listeners on a single ref 2017-04-26 12:21:53 +01:00
Aleck Greenham 3277126fb4 [js][database] Add ref().isEqual() 2017-04-22 18:00:05 +01:00
Aleck Greenham 3d863ac636 [js][database] Add ref property for consistency with web API 2017-04-22 09:27:37 +01:00
Alexander Kuttig 98b6d64836 fixed CrashReporting on iOS
added RNFirebaseCrash.h and RNFirebaseCrash.m to ios project and build target
Renamed lib/modules/crash class name from Analytics to Crash
2017-04-19 16:16:55 +02:00
Salakar e6d2693f33 remove weird formatting 2017-04-19 11:30:08 +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 bdf588e0e2 [js][android][ios][storage] uploadTask.on now correctly receives a success status event 2017-04-07 17:57:57 +01:00
Salakar c83ba8b756 [js][storage] uploadTask.on now correctly handles next or observer args as per firebase web sdk 2017-04-07 16:15:53 +01:00
Salakar d2a9bb7fa3 [js][auth] onAuthStateChange now correctly returns an instance of the User class. 2017-04-07 16:10:04 +01:00
Ben Styles 51a07fc4ee flow fixes that change logic slightly 2017-04-04 17:58:47 +01:00
Ben Styles 5acea6d218 initial commit: basic flow errors 2017-04-04 17:58:20 +01:00