Commit Graph

81 Commits

Author SHA1 Message Date
Chris Bianca 301f2749c0 [internals] Migrate multi app flag to module configuration 2018-01-09 17:32:08 +00:00
Chris Bianca d1f2b3fcfa [internals][types] Fix a couple of minor issues 2018-01-05 18:23:38 +00:00
Chris Bianca 80cb54ee6d [internals][types] Last part of internal refactor; Got rid of remaining flow errors 2018-01-05 17:20:10 +00:00
Chris Bianca 0fe2fec819 [internals] More tidy up and hiding of internal functions 2018-01-03 20:00:38 +00:00
Chris Bianca 61d7c3b2eb [internals] Move native events to individual modules to make it easier to see the relationship 2017-12-22 15:57:33 +00:00
Chris Bianca f2c2007fdc [internals] Start refactoring some of the internals to simplify, tidy up and also reduce flow type pollution 2017-12-22 15:24:31 +00:00
Chris Bianca a03c445e0c [auth] Add support for state in email actions 2017-12-07 12:36:51 +00:00
Chris Bianca ff95c21b9d [typings] Continue work on flow 2017-11-23 17:29:40 +00:00
Chris Bianca fbe73f5dcb [types] Get types properly exporting as part of the build 2017-11-17 16:17:27 +00:00
Chris Bianca 746faad043 [types] Start on auth flow typings 2017-11-17 14:22:46 +00:00
Chris Bianca f1d8bee5b0 [auth] Temp rename to allow capitalisation 2017-11-17 11:22:10 +00:00
Chris Bianca 89ce31689e [auth][js] Add missing phoneNumber property 2017-11-09 15:18:09 +00:00
Chris Bianca 9a17379e0e [auth][js] Add in `onUserChanged` method 2017-10-27 14:05:19 +01:00
Chris Bianca e535a1ebaa [auth][js] Rename a few methods to make it easier to follow 2017-10-27 11:55:00 +01:00
Chris Bianca 807e581ec7 [auth][android][js] Stop removing all listeners when using phone auth 2017-10-27 11:54:36 +01:00
Chris Bianca 31594756cc [auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging 2017-10-27 11:00:06 +01:00
Chris Bianca 31854bae5b [auth] Update auth providers `providerId` to match official SDKs 2017-10-16 11:12:40 +01:00
Benjamin Schell 2a509fe9c2 Update ConfirmationResult.js
Fix bug in ConfirmationResult.js: [ReferenceError: Can't find variable: _verificationId]
2017-10-12 14:46:10 -04:00
Salakar 904468271d [auth] don't send timeout to native if ios - only on android 2017-10-02 09:46:34 +01:00
Salakar d7a832b7c7 [auth] fix incorrect arguments 2017-09-30 20:07:00 +01:00
Salakar 6a78cac3be [auth][js] fixed incorrect timeout value - should be seconds not ms 2017-09-29 11:36:45 +01:00
Salakar 1d0dffbefe [auth] convert native error object in phoneAuthListener to js error + misc flow typings/fixes 2017-09-25 23:07:27 +01:00
Salakar c4e2414295 [auth] added phone_auth_state_changed event fan out listener 2017-09-25 23:06:13 +01:00
Salakar 3cde0e93d9 [flow] fix misc flow warnings 2017-09-25 21:29:40 +01:00
Salakar 261edf7a83 [auth] correctly send timeout value to native method `verifyPhoneNumber` 2017-09-24 16:35:44 +01:00
Salakar c8a37f6282 [auth] update provider constructor errors 2017-09-24 16:35:15 +01:00
Salakar 61d963ad62 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-09-24 13:58:03 +01:00
Salakar fd788b9d5d [auth] add verifyPhoneNumber 2017-09-24 13:57:59 +01:00
Salakar 43e17f4b16 [auth] first implementation of PhoneAuthListener 2017-09-24 13:54:10 +01:00
Salakar 0984f6d680 [auth] constructing an new instance of an auth provider class will now throw an unsupported error 2017-09-24 13:50:00 +01:00
Salakar c2ce379b2c fixed invalid references to native module 'FirebaseAuth' and added phone auth statics 2017-09-24 13:17:20 +01:00
hjumeau 76781479b6 [auth][unlink] Call native function instead of 'FirebaseAuth' 2017-09-23 23:34:40 +02:00
Chris Bianca 83faa86333 [auth] Add unsupported method errors for auth() and User 2017-09-23 16:14:35 +01:00
Chris Bianca 902ee98617 [auth] Update providers to match web spec 2017-09-21 17:42:09 +01:00
Chris Bianca c59d64054d [auth] Add onIdTokenChanged method 2017-09-21 16:48:54 +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 fd474d5adb [android][auth] phoneAuth via EE implementation 2017-08-19 05:22:07 +01:00
Salakar 9825226665 [js][internals] _NAMESPACE & _NATIVE_MODULE static props for all modules 2017-08-17 17:58:28 +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 d8fee7f5cb [auth][ios] finalised auth changed listener logic 2017-07-17 20:56:08 +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 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
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 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