Commit Graph

1694 Commits

Author SHA1 Message Date
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 83e5d1f3d0 [android] implemented auth().link & signInWithCredential - for all providers, password, twitter, facebook, google and github 2017-03-17 23:33:55 +00:00
Salakar 9cdd48a95a [ios] implemented auth().link - for all providers, password, twitter, facebook, google and github 2017-03-17 22:34:35 +00:00
Salakar 48f6d90690 [android] added promiseRejectAuthException method to match ios 2017-03-17 22:00:13 +00:00
Salakar 96fc1c7e42 [ios] finished standardizing auth exception codes/messages 2017-03-17 21:41:17 +00:00
Salakar 93b2561878 [ios] misc auth 2017-03-17 19:08:51 +00:00
Salakar 30c052a9c0 1.0.0-alpha5 2017-03-17 18:05:31 +00:00
Salakar 6977f06a67 [ios] completed remaining .auth().. methods 2017-03-17 18:04:13 +00:00
Salakar a5df15709d Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-17 16:06:24 +00:00
Salakar aa696e2523 #1.0.0-alpha4 2017-03-17 16:06:20 +00:00
Salakar 856da83a80 [android, ios] first draft of full fcm implementation - ios still todo 2017-03-17 16:04:39 +00:00
Salakar b9fd032b6d [ios] commented out authToDict function as it's still todo - causes a crash on some xcode environments (weird) 2017-03-17 16:03:30 +00:00
Elliot Hesp e214e9c23b Typo fix 2017-03-17 15:44:02 +00:00
Elliot Hesp 66fb741e95 Typo fix 2017-03-17 15:43:24 +00:00
Salakar ea83290bae Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-17 15:41:37 +00:00
Salakar 46c84581ca firebase.crash().report() now accepts an error instead of a string, a string version of the error is generated before sending to native side. 2017-03-17 15:41:25 +00:00
Elliot Hesp f563064455 Update crash.md 2017-03-17 15:40:19 +00:00
Elliot Hesp 7fc8856487 Fix typo 2017-03-17 15:23:14 +00:00
Elliot Hesp 73071c1e7a Create crash.md 2017-03-17 15:21:57 +00:00
Salakar 24738dd03f Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-17 14:58:35 +00:00
Elliot Hesp 7b7d6a07da Update README.md 2017-03-17 14:58:28 +00:00
Salakar 50c97ad542 misc build script changes 2017-03-17 14:57:22 +00:00
Elliot Hesp 56b1d0009a Update Android installation instructions 2017-03-17 14:39:50 +00:00
Salakar 8830b98c18 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-17 13:27:18 +00:00
Salakar d71ffd569f #v1.0.0-alpha3 2017-03-17 13:27:04 +00:00
Michael Diarmid aaed24cb87 Update README.md 2017-03-17 12:41:56 +00:00
Michael Diarmid 277f9b856c Update README.md 2017-03-17 12:41:34 +00:00
Salakar 86498b76d0 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-16 17:08:43 +00:00
Salakar f5d0bd002a [js] prefix snapshot internals with '_' 2017-03-16 16:48:03 +00:00
Elliot Hesp a5cd56243e Update analytics.md 2017-03-16 16:32:17 +00:00
Elliot Hesp 274c8a93fa Update README descriptions 2017-03-16 16:27:01 +00:00
Elliot Hesp c459345bfe Change Gitter location 2017-03-16 15:46:13 +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 cd4664fb68 [ios] fixed messaging getToken, listen/unlisten token refresh 2017-03-15 13:05:56 +00:00
Salakar 6d52b6d4d3 messaging().getToken now correctly returns a string on both platforms 2017-03-15 12:57:36 +00:00
Salakar 5c14dfeb3b fix debug logging 2017-03-15 11:20:12 +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 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 7710dd94a7 implement currentUser.toJSON() method 2017-03-13 20:01:45 +00:00
Salakar f9f075f43d Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-13 17:24:24 +00:00