Commit Graph

257 Commits

Author SHA1 Message Date
Chris Bianca c3f32e54e3 [db] Clean up old files 2017-08-25 17:38:24 +01:00
Chris Bianca d5de6a5b21 [db] Correctly named module for statics 2017-08-25 17:37:52 +01:00
Chris Bianca 0d117f6827 [js] Embed FB’s EventEmitter to prevent haste issues 2017-08-25 15:30:17 +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
Salakar a0f638efa1 [core] fix app name issue 2017-08-23 11:18:51 +01:00
Salakar a0e1f744ba merge from master 2017-08-22 17:35:25 +01:00
Ben Richards c1b9b5d532 moved EventTypes to new file to avoid enumerable key in AdMobComponent.propTypes 2017-08-20 22:58:40 -07:00
Salakar fd474d5adb [android][auth] phoneAuth via EE implementation 2017-08-19 05:22:07 +01:00
Salakar 92504580e5 [js][internals] updated nativeToJSError util to exclude itself from error stacks 2017-08-19 05:18:34 +01:00
Salakar 6a8656f428 [js][qol] added missing module detection and associated generated red box guides 2017-08-18 21:05:47 +01:00
Salakar 9825226665 [js][internals] _NAMESPACE & _NATIVE_MODULE static props for all modules 2017-08-17 17:58:28 +01:00
Salakar b4cdbef593 [js][internals] _NATIVE_MODULE mapping for `nativeModuleExists` 2017-08-17 17:25:13 +01:00
Salakar 5ccbd9f369 [js][database] synctree cleanup 2017-08-16 21:43:24 +01:00
Salakar e4d27029b9 [js][android] database sync tree implementation with adjusted tests 2017-08-15 21:29:50 +01:00
Salakar 67985f8e90 [js][core] added `nativeModuleExists` property to all module statics - true or false if the native android/ios module is present 2017-08-15 17:28:51 +01:00
Salakar 491b61afad [js][database] nativeToJSError util can now attach addition props to the error - e.g. ref path 2017-08-14 18:43:21 +01:00
Salakar c6a26606d1 [js][database] fixed an issue where thenable ref promise would sometimes cause other promises to hang - no idea why ;p 2017-08-14 18:42:39 +01:00
Salakar dedfa48aa0 [js][database] _handleCancelEvent completed - now correctly handles cancellation events from .on() 2017-08-14 18:41:50 +01:00
Salakar 156e1a431c [storage][js] update ref.toString - removed extra `/` and added `gs://` prefix 2017-08-14 14:11:17 +01:00
Salakar 56fc189d26 [storage][js] update ref.toString to now correctly return the full bucket path to the ref location 2017-08-14 14:06:37 +01:00
Salakar 534a52d16a [database][js] remove unused import 2017-08-14 14:01:10 +01:00
Salakar f90db16019 [database][js] ref.isEqual() now correctly compares query modifiers 2017-08-14 13:51:52 +01:00
Salakar e1fc30bc8f [database][js] thenable ref fix for #147 2017-08-14 13:30:44 +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 ac258681bc 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-11 17:37:12 +01:00
Salakar 5e3cf0ad7f [js][database] todo comments 2017-08-11 15:58:42 +01:00
Elliot Hesp 0c69eb5237 [admob] Remove unused static method 2017-08-11 11:22:05 +01:00
Salakar 425dfbcc43 [js][database] once now supports passing context - as per the web sdk 2017-08-07 09:46:05 +01:00
Salakar fb6251a6fd [js][database] cleanup transaction completion wrapper 2017-08-05 22:00:06 +01:00
Salakar 53acfe3584 [js][database] remove, update, setWithPriority, setPriority & set now correctly support callbacks or promises
[js][database] fixed query modifier methods - were accessing incorrect query property
2017-08-05 21:49:28 +01:00
Salakar d2909be7eb [js][database] fixed an issue where query methods were not returning correctly 2017-08-05 21:45:15 +01:00
Salakar b935034592 [database][wip] misc multi-app 2017-08-02 10:38:30 +01:00
Salakar c9efb0087f [database][wip] update reference to support 'ThenableReference' 2017-07-31 18:25:31 +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
Salakar 267f908c62 [core][js] misc cleanup/validation 2017-07-18 06:04:12 +01:00
Salakar 294ee0062d [messaging][js] fixed EE issue 2017-07-18 06:03:35 +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 d8fee7f5cb [auth][ios] finalised auth changed listener logic 2017-07-17 20:56:08 +01:00
Salakar 2d744b162e [tests] update firebase helper to initialize additional apps 2017-07-17 19:44:47 +01:00
Salakar 813b91f5ad [ios][app] apps initialized natively now automatically initialized js side - via react module getConstants 2017-07-17 18:20:27 +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 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