Commit Graph

30 Commits

Author SHA1 Message Date
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
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 9f5b132f38 [android, ios] currentUser.getToken() - now uses promise and correctly returns a string 2017-03-16 12:35:03 +00:00
Salakar b6c406c7aa [android] link/linkPassword 2017-03-16 12:19:34 +00:00
Salakar afece365e4 [android] start of auth().currentUser methods refactor 2017-03-15 20:17:04 +00:00
Salakar a780f9677d [android] finished refactor of auth() methods, currentUser methods still TODO 2017-03-15 20:05:09 +00:00
Salakar 0914a9341c [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +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 7710dd94a7 implement currentUser.toJSON() method 2017-03-13 20:01:45 +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