Commit Graph

383 Commits

Author SHA1 Message Date
Chris Bianca a1cff881e1 [android][ios][js] Detect missing native module rather than using empty function 2017-05-31 15:22:15 +01:00
Chris Bianca dcd6321561 [ios] Tidy up of iOS imports and other misc clean up 2017-05-31 09:54:02 +01:00
Chris Bianca fc3ad620a4 [ios][messaging] Make firebase/messaging pod optional 2017-05-30 13:20:42 +01:00
Chris Bianca f82897218f [ios][js] Misc clean up 2017-05-30 11:44:06 +01:00
Chris Bianca 2e3624a8d9 [ios][admob] Fix compilation issues 2017-05-30 10:22:48 +01:00
Chris Bianca abc4de2257 [messaging][iOS] Tidy up messaging and bring it in inline with latest version of Firebase Messaging (4.0.0) 2017-05-30 08:26:40 +01:00
Elliot Hesp fdcf4ef2f3 [admob] Update documentation 2017-05-27 20:46:17 +01:00
Salakar 278957f2ea [ios][all] removed < RN 40 conditional imports as RN 40 is now the minimum supported version 2017-05-27 15:28:24 +01:00
Salakar 6751dc0882 [ios] removed unused errors module 2017-05-27 15:27:22 +01:00
Salakar b7b4febe3f [ios][admob] added stub modules 2017-05-27 15:24:51 +01:00
Salakar 18e65b697f [ios][database] linting fixes + now detects if pod installed (makes the pod an optional dependency) 2017-05-25 16:00:12 +01:00
Salakar eba23bad15 [ios] update podfile template - added comments around optional firebase pods 2017-05-25 15:59:30 +01:00
Salakar d095279c71 [ios][auth] now detects if pod installed (makes the pod an optional dependency) 2017-05-25 15:33:41 +01:00
Salakar e531cb6f8d [ios][remote-config] now detects if pod installed (makes the pod an optional dependency) 2017-05-25 15:24:53 +01:00
Salakar 6e167736b6 [ios][crash] now detects if pod installed (makes the pod an optional dependency) 2017-05-25 15:21:10 +01:00
Salakar 531acece76 [ios][storage] now detects if pod installed (makes the pod an optional dependency) 2017-05-25 15:14:01 +01:00
Salakar 410f260fc0 [ios][perf] now detects if pod installed (makes the pod an optional dependency) 2017-05-25 15:03:20 +01:00
Salakar c851e5c083 [ios][analytics] now detects if pod installed (makes the pod an optional dependency) 2017-05-25 15:03:08 +01:00
Salakar 0ef3a5341c [ios] cleanup/remove old code from RNFirebase.h/m 2017-05-25 15:01:53 +01:00
Elliot Hesp 45f8f4076d [auth] Implemented fetchProvidersForEmail 2017-05-25 14:45:03 +01:00
Elliot Hesp 231f6852de [pref][ios] Add Performance to Podfile template 2017-05-25 12:04:40 +01:00
Elliot Hesp 66df0b0463 [pref][ios] Implement performance monitoring 2017-05-25 10:39:54 +01:00
Elliot Hesp fe8c486dcb [config] Added setDefaultsFromResource method 2017-05-23 14:53:19 +01:00
Elliot Hesp fb90f444d9 Fix merge conflict 2017-05-23 14:10:07 +01:00
Elliot Hesp 25e8bb6d5a [config] Standardize ios & android 2017-05-23 14:08:59 +01:00
Elliot Hesp 69872fa5b9 [ios][config] Always resolve activated status 2017-05-23 11:51:16 +01:00
Chris Bianca 5120bc8b46 [ios][storage] Better support uploading files with a file:// prefix 2017-05-22 15:25:35 +01:00
Elliot Hesp 22a6ac1b07 [ios][config] Fix fetch handler typo 2017-05-22 10:38:39 +01:00
Akshet Pandey ede85d7717 Add nonnull to type 2017-05-19 20:26:23 -07:00
Akshet Pandey fdf60444fe Implement Firebase Remote Config for iOS 2017-05-19 16:17:28 -07:00
Chris Bianca 90a130c729 [ios] Use RCTSharedApplication() instead of [UIApplication sharedApplication] 2017-05-15 12:00:41 +01:00
Salakar cf12fc1c10 [ios][auth] fix crash - fixes #112 2017-05-13 13:08:43 +01:00
Salakar bb64cae09c [ios][database] query modifiers with float values now correctly query - added 2 issue specific tests - fixes #108 2017-05-13 02:38:27 +01:00
Salakar a46505d7eb [ios] fix convertProviderData nil issue 2017-05-13 01:46:27 +01:00
Salakar fd19999e48 [ios] fix NSURL json serialization issue when using providerData, now uses absoluteString 2017-05-12 15:15:02 +01:00
Salakar f3136427c2 [ios] fix NSURL json serialization issue when using providerData, now uses absoluteString 2017-05-12 14:30:28 +01:00
Salakar 06d20cac5c [ios] change convertProviderData to use a for in statement 2017-05-12 13:58:16 +01:00
Salakar 9977f1f5fa [ios] added user `providerData` props - fixed typo 2017-05-12 13:18:32 +01:00
Salakar 6c68d85261 [ios] added user `providerData` props 2017-05-12 13:13:17 +01:00
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