Commit Graph

45 Commits

Author SHA1 Message Date
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 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 31594756cc [auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging 2017-10-27 11:00:06 +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 fd788b9d5d [auth] add verifyPhoneNumber 2017-09-24 13:57:59 +01:00
Salakar c2ce379b2c fixed invalid references to native module 'FirebaseAuth' and added phone auth statics 2017-09-24 13:17:20 +01: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 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
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 86512320f0 [js] move auth statics 2017-03-27 19:11:26 +01: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 9d520c4693 [js] misc flow fixes in auth 2017-03-17 23:40:12 +00:00
Salakar b6c406c7aa [android] link/linkPassword 2017-03-16 12:19:34 +00:00
Salakar a780f9677d [android] finished refactor of auth() methods, currentUser methods still TODO 2017-03-15 20:05:09 +00:00
Salakar b18a7a0d6a switch ios onAuthStateChange handlers to new format 2017-03-14 10:57:57 +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 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 7e8dbcbb35 dump of current js files 2017-03-02 13:09:41 +00:00
Salakar 081adee1dc utils - js 2017-02-14 15:56:28 +00:00
Salakar 1cef58939d auth - js 2017-02-14 11:41:27 +00:00