Commit Graph

65 Commits

Author SHA1 Message Date
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
Michael Diarmid 0edb79243a AuthResult fix
Fixes #144
2017-06-13 02:09:12 +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
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 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
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
Salakar d2a9bb7fa3 [js][auth] onAuthStateChange now correctly returns an instance of the User class. 2017-04-07 16:10:04 +01:00
Ben Styles 5acea6d218 initial commit: basic flow errors 2017-04-04 17:58:20 +01:00
Salakar 48e57d2065 [ios][android][auth] getToken now correctly accepts forceRefresh argument. Fixes #21. 2017-03-30 10:55:16 +01:00
Salakar 86512320f0 [js] move auth statics 2017-03-27 19:11:26 +01:00
Salakar ea5d7d409f [js][auth] implemented currentUser.updateProfile() method 2017-03-18 01:10:34 +00:00
Salakar 916224014d [js][auth] implemented currentUser.updatePassword() method 2017-03-18 00:41:24 +00:00
Salakar f5b604bfdd [js][auth] added intercept to updateEmail 2017-03-18 00:31:28 +00:00
Salakar 5d67aaa9ef [js] implement currentUser.reauthenticate(credential) 2017-03-18 00:04:47 +00:00