Commit Graph

282 Commits

Author SHA1 Message Date
Salakar 5824e5405f [android][database] transaction lock condition 'awaits' now timeouts after 30 seconds if not signalled (forgot to include the handler originally also) 2017-03-24 23:36:01 +00:00
Salakar bb6b1aa7f2 [android,js][database] transactions support implemented 2017-03-24 22:53:56 +00:00
Salakar 7650ae42e4 [android,js] misc messaging 2017-03-21 11:26:16 +00:00
Salakar 2c0e8f4eaa [android][auth] implemented currentUser.updateProfile() method 2017-03-18 01:09:37 +00:00
Salakar 8d45bfdbf4 [android][auth] implemented currentUser.updatePassword() method 2017-03-18 00:40:55 +00:00
Salakar 5bcd492efc [android][auth] added sendEmailVerification and updateEmail methods 2017-03-18 00:30:26 +00:00
Salakar 2a0ffb5832 [android] implement currentUser.reauthenticate(credential) 2017-03-18 00:04:17 +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 83e5d1f3d0 [android] implemented auth().link & signInWithCredential - for all providers, password, twitter, facebook, google and github 2017-03-17 23:33:55 +00:00
Salakar 48f6d90690 [android] added promiseRejectAuthException method to match ios 2017-03-17 22:00:13 +00:00
Salakar 856da83a80 [android, ios] first draft of full fcm implementation - ios still todo 2017-03-17 16:04:39 +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 1874189e15 [android] fix case on authExceptionToMap 2017-03-15 18:17:57 +00:00
Salakar e54fb2a4bc [android] added additional logic to authExceptionToMap to try and cast exceptions to FirebaseAuthException. Sometimes this is unable to cast hence the previous version of this function, now tries both. 2017-03-15 18:09:14 +00:00
Salakar 1acbff834f [ios, android] fixed messaging() send() - now a promise on native - added stub method for ios as the existing one was empty 2017-03-15 14:00:28 +00:00
Salakar 6d52b6d4d3 messaging().getToken now correctly returns a string on both platforms 2017-03-15 12:57:36 +00:00
Salakar 0914a9341c [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +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 7715b2c061 remove getToken calling from promiseWithUser (was getting called every auth method, not sure why it was here) 2017-03-13 20:14:17 +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 50d176427f android/js: cleanup / remove redundant code 2017-03-10 18:12:46 +00:00
Chris Bianca 77a09f5810 Add Firebase Crash Reporting for iOS and Android 2017-03-10 14:18:07 +00:00
Salakar d86a3dff2a android: fixed getPriority value casting & cleaned up utils 2017-03-10 13:58:29 +00:00
Salakar 899dd1a3cb android: onCancelled should now remove event listeners - fixes hanging issue 2017-03-09 16:59:03 +00:00
Salakar b02bcbd9cf more error standardisation on android 2017-03-09 15:29:08 +00:00
Salakar 214928ba7f android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
Salakar 4d9255c3e9 misc formatting 2017-03-02 11:38:43 +00:00
Salakar c652d73c9f RNFirebase android 2017-03-02 11:30:08 +00:00