Commit Graph

282 Commits

Author SHA1 Message Date
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
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