Commit Graph

1513 Commits

Author SHA1 Message Date
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
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
Elliot Hesp 92799bc0a9 Add missing settings.gradle setup docs 2017-03-13 10:25:43 +00:00
Elliot Hesp 921921fda3 Update README.md 2017-03-13 08:47:29 +00:00
Salakar 50d176427f android/js: cleanup / remove redundant code 2017-03-10 18:12:46 +00:00
Chris Bianca eab45d7dc8 Fix issues with Analytics 2017-03-10 14:43:09 +00:00
Chris Bianca b343a46de0 Rename pod 2017-03-10 14:18:07 +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 f509dfedff android: bump firebase version to 10.2.0 2017-03-10 10:46:55 +00:00
Salakar ccd90666f5 js: snapshot now returns cloned objects/arrays of this.value 2017-03-09 18:45:42 +00:00
Salakar 178b2e1d99 js: snapshot comments / flow type additions 2017-03-09 18:18:10 +00:00
Salakar 834980f9dd snapshot.forEach() now correctly implemented - now allows returning true to break iteration as per web sdk docs.
+ misc commenting / flow types
2017-03-09 17:53:35 +00:00
Salakar da8a2ec645 misc snapshot 2017-03-09 17:18:48 +00:00
Salakar 199b7ee588 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-03-09 16:59:16 +00:00
Salakar 899dd1a3cb android: onCancelled should now remove event listeners - fixes hanging issue 2017-03-09 16:59:03 +00:00
Chris Bianca a4e464dbba Upload iOS live photos as static images 2017-03-09 16:57:37 +00:00
Chris Bianca 25e4d39a16 Remove db listener when an error occurs as it is removed internally by Firebase (iOS) 2017-03-09 16:46:02 +00:00
Salakar b02bcbd9cf more error standardisation on android 2017-03-09 15:29:08 +00:00
Salakar e48e5c290e js: snapshot class incorrectly defining 'exists' as a bool prop, instead of a function 2017-03-09 15:27:49 +00:00
Salakar 05a35b7b82 ios - initial build 2017-03-09 15:26:28 +00:00
Salakar 2d1015d205 js: change db error to match firebase web sdk error 2017-03-08 13:21:21 +00:00
Salakar 51c63b2f3e js: cleanup error util 2017-03-07 17:35:48 +00:00
Salakar a3f3cf930a js: fixed promise rejected with non-error warning 2017-03-07 17:02:24 +00:00
Salakar 9b5aaae909 android: fixed promise rejected with non-error warning 2017-03-07 16:58:33 +00:00
Salakar 214928ba7f android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
Salakar 677b1d2836 remove trailing comma in package json 2017-03-07 12:02:43 +00:00
Salakar b19d1183e7 rnpm scripts 2017-03-02 13:13:18 +00:00
Salakar ec664bfca4 updated deps 2017-03-02 13:12:14 +00:00
Salakar 52e7900b18 misc eslint rules 2017-03-02 13:10:50 +00:00
Salakar 79bfc7ce09 typeOf check the actual value - derp 2017-03-02 13:10:10 +00:00
Salakar 7e8dbcbb35 dump of current js files 2017-03-02 13:09:41 +00:00