Commit Graph

394 Commits

Author SHA1 Message Date
Salakar 781f864692 [ios] fix for #97 2017-05-09 17:20:06 +01:00
Salakar 286f886cfa Merge branch 'master' of https://github.com/invertase/react-native-firebase
# Conflicts:
#	tests/ios/Podfile.lock
2017-05-09 15:32:37 +01:00
Salakar 1d0acf4244 upgrade tests app to RN 44 2017-05-09 13:53:05 +01:00
Salakar da556ae8c9 [ios] add backwards compatibility to RN imports - fixed #80 2017-05-05 09:46:22 +01:00
Salakar 618b34cd4f [ios] update pod spec & template 2017-05-02 10:54:18 +01:00
Salakar 8fe6ffee8c [ios] added RNFirebase to podfile template 2017-05-02 10:42:24 +01:00
Chris Bianca 6d4b5bc406 [ios] Add multiple listener support 2017-04-26 17:34:16 +01:00
Alexander Kuttig 98b6d64836 fixed CrashReporting on iOS
added RNFirebaseCrash.h and RNFirebaseCrash.m to ios project and build target
Renamed lib/modules/crash class name from Analytics to Crash
2017-04-19 16:16:55 +02:00
Alexander Kuttig 127bdfbbee fixed onDisconnectSet on iOS
removed onDisconnectSetString
renamed onDisconnectSetObject to onDisconnectSet
called Firebase onDisconnectSetValue with props.value
2017-04-19 13:05:23 +02:00
Salakar bdf588e0e2 [js][android][ios][storage] uploadTask.on now correctly receives a success status event 2017-04-07 17:57:57 +01:00
Salakar 343710dbf9 [js][ios][messaging] fixed misc messaging .send() types 2017-04-03 10:33:18 +01:00
Salakar 91e9263965 [js][ios][android][messaging] full implementation of upstream send including RemoteMessage builder 2017-03-30 16:25:27 +01:00
Salakar 48e57d2065 [ios][android][auth] getToken now correctly accepts forceRefresh argument. Fixes #21. 2017-03-30 10:55:16 +01:00
Salakar b012bf22f6 [ios][storage] getMetaData --> getMetadata renamed 2017-03-29 17:48:21 +01:00
Chris Bianca 43df6b5564 Add a promise response to iOS messaging requestPermissions to return permission popup response (iOS 10+) 2017-03-27 12:51:52 +01:00
Salakar fda59ecdcb [ios][database] transaction support implemented 2017-03-25 00:59:27 +00:00
Salakar 67a2b41a61 [ios][storage] fixes #15, fixed an issue where some storage errors are unserializable by RN - workaround is just to send nil instead of the NSError 2017-03-23 00:37:38 +00:00
Salakar f132ddb614 [ios][storage] fixed issue where invalid file paths for download would error with unknown 2017-03-22 23:20:02 +00:00
Salakar 352b8db780 [ios][storage] lowercase TaskState's to match web sdk 2017-03-22 19:47:22 +00:00
Salakar e23302fb24 [ios][storage] switch to native promises and implemented web error codes 2017-03-22 18:49:36 +00:00
Salakar d4c2f95cca [ios,js] full fcm implementation, first draft for ios 2017-03-21 15:11:07 +00:00
Salakar 1789fae541 [ios][auth] implemented currentUser.updateProfile() method 2017-03-18 01:10:22 +00:00
Salakar ad52991ffc [ios][auth] implemented currentUser.updatePassword() method 2017-03-18 00:41:10 +00:00
Salakar 5320d506bf [ios][auth] added sendEmailVerification, reload and updateEmail methods 2017-03-18 00:31:02 +00:00
Salakar 70567b3b3e [ios] implement currentUser.reauthenticate(credential) 2017-03-18 00:04:31 +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 6977f06a67 [ios] completed remaining .auth().. methods 2017-03-17 18:04:13 +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
Salakar 50c97ad542 misc build script changes 2017-03-17 14:57:22 +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 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 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
Chris Bianca eab45d7dc8 Fix issues with Analytics 2017-03-10 14:43:09 +00:00
Chris Bianca 77a09f5810 Add Firebase Crash Reporting for iOS and Android 2017-03-10 14:18:07 +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 05a35b7b82 ios - initial build 2017-03-09 15:26:28 +00:00