Commit Graph

322 Commits

Author SHA1 Message Date
Chris Bianca ff8a8676d6 [messaging][ios] registerForRemoteNotification on main thread 2017-10-24 09:51:21 +01:00
Chris Bianca 403a7eefa0 [firestore] Use ms instead of ISOString for date conversion 2017-10-24 09:09:48 +01:00
Chris Bianca 9822cb34d4 [database] Correctly differentiate limitToLast and other similar clauses 2017-10-23 17:03:49 +01:00
Chris Bianca 3d57cdc634 Merge branch 'v3.0.x'
# Conflicts:
#	docs/modules/authentication.md
#	package.json
2017-10-23 09:24:45 +01:00
Chris Bianca 4e66443c71 [auth][ios] Reload the user when unlinking an account to ensure that it’s up to date 2017-10-20 17:37:59 +01:00
Chris Bianca 2d35514287 [firestore] Cleanup unused methods 2017-10-18 10:29:46 +01:00
Chris Bianca 4f51b48430 [ios][database] Protect against calling off on a non-existent ref 2017-10-18 10:29:11 +01:00
Chris Bianca 31854bae5b [auth] Update auth providers `providerId` to match official SDKs 2017-10-16 11:12:40 +01:00
Michael Diarmid 60a9f879ff Merge pull request #511 from rmrs/omer_links
Dynamic Links - ios bug fixes
2017-10-15 12:04:23 +01:00
Omer Levy e9b139f5dd [ios] fix DynamicLink pod import issue and post installation initialization issue 2017-10-14 18:33:30 -04:00
chrisbianca 101a426307 Merge pull request #481 from rmrs/omer_links
Dynamic Links Support
2017-10-13 18:27:53 +01:00
Chris Bianca 0af5e71b4f [firestore][ios] Retain timezone information when formatting the date 2017-10-13 11:40:31 +01:00
Chris Bianca e76ab93a72 [ios] Temporary fix for #233 2017-10-12 09:42:38 +01:00
Chris Bianca 114e3b2b5b [ios] Explicitly set requiresMainQueueSetup to prevent warnings on app start 2017-10-12 09:18:01 +01:00
Chris Bianca f348ba8a8c [firestore] Support FieldValue.delete() and FieldValue.serverTimestamp() 2017-10-12 09:00:46 +01:00
Chris Bianca 7c95ceca5b [firestore][ios] Type map changes for iOS 2017-10-10 17:22:12 +01:00
Omer Levy fbdc733d53 flatten dynamicLinkInfo to the top-level, move the mandatory keys validation to the javascript from the native modules and some minor fixes 2017-10-10 16:22:03 +03:00
Omer Levy f2966d46ed [ios] remove native validation for invalid parameters 2017-10-08 21:40:27 -04:00
Omer Levy af47f7ca03 merge master into omer_links 2017-10-08 03:52:19 +03:00
Omer Levy 20d414652b [ios] fix link creation API, reject invalid arguments on creation and fix tests 2017-10-07 18:00:36 -04:00
Chris Bianca 638ee0b0b8 [ios] Add InstanceID and Firestore framework search paths 2017-10-06 15:53:38 +01:00
Chris Bianca 2575fb4956 [firestore] Support all `onSnapshot` parameter options 2017-10-06 12:00:40 +01:00
Omer Levy 9e26d042d3 merge master into omer_links 2017-10-05 20:07:24 +03:00
Chris Bianca 69debf7017 [firestore][ios] Add proper error codes 2017-10-05 10:32:14 +01:00
Chris Bianca f350c2b3ed [firestore] Add metadata and bring methods in sync with web SDK reference 2017-10-05 10:18:24 +01:00
Chris Bianca ddec5bd66a Merge commit '2a805439e79b9f85c43ae07f07b150a3b9c0cfc1' 2017-10-03 17:24:07 +01:00
Chris Bianca c558af6480 Bump to final versions of Firestore iOS and Android libraries 2017-10-03 17:23:28 +01:00
Salakar 2a805439e7 [ios][auth] added missing recover email check action code 2017-10-03 16:53:15 +01:00
Salakar 797780f795 [ios][auth] emit phone verify auth events 2017-10-03 16:49:03 +01:00
Chris Bianca 459b03464d Merge commit '74283c5e39225a89386b833ba24a4cfddacb8c16' 2017-10-03 15:44:10 +01:00
Salakar 74283c5e39 [ios][auth] phone auth + event and move error parsing into it's own method getJSError so it can be reused for event based errors 2017-10-03 15:41:35 +01:00
Chris Bianca 51074efdca Merge commit '49d29b53f21e530f5c918e472db93ee856947426' 2017-10-03 10:33:18 +01:00
Chris Bianca 22f7d77f54 [firestore] Add collection `onSnapshot` support 2017-10-03 10:12:25 +01:00
Salakar faf522d2d7 [ios] fix misc xcode warnings 2017-10-03 10:03:41 +01:00
Salakar aa2e8804b7 [ios][crash] adding missing required string formatter: 'NSInvalidArgumentException if @p format is nil' 2017-10-03 10:01:08 +01:00
Salakar a1534c23b8 [messaging] fix broken code from pr #443 2017-10-03 09:56:47 +01:00
Chris Bianca d40f464f1c [firestore][ios] Add document onSnapshot functionality 2017-10-02 15:45:07 +01:00
Salakar 306b34d1e6 [auth][ios] add phone state event to supported events 2017-10-02 09:48:43 +01:00
Omer Levy ccc178cf05 [ios] change name of parameter packageName to androidPackageName 2017-10-02 00:55:08 +03:00
Omer Levy 814f2d921d remove unnecessary import from analytics 2017-10-01 03:06:31 +03:00
Omer Levy af4ce2a2ca align links to v3 2017-10-01 02:50:37 +03:00
Omer Levy 3db6a1839b merge master into omer_links 2017-10-01 02:17:22 +03:00
Omer Levy 482fdb01ad [ios] some refactoring 2017-09-30 12:56:58 -04:00
Omer Levy ba2a04be98 [ios] wrap FIRDynamicLinks methods in the RNFirebaseLinks class 2017-09-30 08:54:11 -04:00
Chris Bianca b432a147b8 [storage][ios] Convert HEI images to JPEG before upload 2017-09-29 15:50:16 +01:00
Chris Bianca b4743ffa8b [firestore][tests] Tests for most of the current functionality 2017-09-28 17:48:13 +01:00
Chris Bianca 6060c36c1c [firestore][ios] Add initial iOS functionality 2017-09-28 13:48:28 +01:00
Omer Levy df6b2ac4cc remove analytics treatment in creation and add some logs 2017-09-28 06:20:29 -04:00
Michele Bombardi e5856279df deleteInstanceId iOS 2017-09-26 17:55:10 +02:00
Michele Bombardi afe7bed6e2 deleteInstanceId (Android only) 2017-09-26 16:44:15 +02:00
Omer Levy 705c03a4f1 [ios] support dynamic links recieve cont. 2017-09-26 09:54:21 -04:00
Omer Levy 748e3fb53d [ios] support dynamic links recieve 2017-09-25 10:34:26 -04:00
Chris Bianca c59d64054d [auth] Add onIdTokenChanged method 2017-09-21 16:48:54 +01:00
Chris Bianca bda6d40835 [admob] Remove import that no longer exists in latest version of Google Ads framework 2017-09-21 16:32:04 +01:00
JackThomson2 f7f3b6b8ea Fix syntax error in messaging 2017-09-21 12:34:50 +01:00
Chris Bianca cd14e0eea8 [admob] Add missing file to xcode project 2017-09-18 09:39:31 +01:00
Akshet Pandey d362b6acd0 UIApplication methods should only be called from the main thread 2017-09-15 17:10:29 -07:00
phips28 b7d4b3c5aa Set opened_from_tray true if a local notification is clicked from notification center/tray 2017-09-12 19:01:04 +02:00
salakar 3f9cd5435e Merge remote-tracking branch 'origin/master' 2017-09-07 03:02:39 +01:00
salakar f6928634f2 [android][ios][storage] UploadTaskSnapshot `downloadUrl` renamed to download `downloadURL` to match web sdk. fixes #379 2017-09-07 03:02:31 +01:00
Omer Levy 012f8b79b1 [ios] Add long and short links creation 2017-09-04 09:01:00 -04:00
Brian M Hiss 32cb4155b4 [auth][phone] Allow for linkWithCredential() for PhoneAuthProvider. 2017-09-01 15:47:42 +08:00
Salakar 0fc7f7aabb [database][ios] error codes now correctly lower cased - incorrect tests updated to match 2017-08-28 13:53:09 +01:00
Chris Bianca ef3bc33914 [ios][storage] Correctly set the mime type of the image or video being uploaded 2017-08-25 18:05:50 +01:00
Chris Bianca ec6d91b6e8 [ios][storage] Multi-app support for iOS storage 2017-08-25 16:18:42 +01:00
Chris Bianca 1230bd7108 [ios][database] New implementation for off and on to match Android 2017-08-22 17:29:02 +01:00
Chris Bianca c370d099ff [ios] Further framework and header path fixes 2017-08-18 13:34:52 +01:00
Chris Bianca 40ec5e756a [ios] Remove pods from frameworks search path to prevent compile errors 2017-08-18 11:13:06 +01:00
Chris Bianca 9c937c1e9e Remove unnecessary search paths 2017-08-18 10:37:27 +01:00
Chris Bianca c2c01531f8 [ios] Remove erroneous check in 2017-08-17 17:59:16 +01:00
Chris Bianca 843ef88684 [ios][db] Fix database imports 2017-08-17 17:32:09 +01:00
Chris Bianca bb98c4f9e5 [ios] Change all library imports to use <> notation 2017-08-17 17:26:20 +01:00
Chris Bianca 5ad3802627 [ios][remoteconfig] Fix another compilation error 2017-08-17 16:29:49 +01:00
Chris Bianca cf2431b9e2 [ios][config] Fix incorrectly named implementation 2017-08-17 11:48:53 +01:00
Salakar 56e9a1d5f6 [ios][database] update database events 2017-08-16 21:39:05 +01:00
Salakar e3f0213aaa [ios] fixed xcode derp where it imported full path to AppleTV OS version of Foundation.h - random 2017-08-15 13:28:50 +01:00
Salakar 590cb58d49 [storage][ios] fixed customMetadata not being uploaded via putFile - fixes #276 2017-08-14 13:51:17 +01:00
Salakar f1709970e9 [database][wip] on/off logic refactor - heavily still wip so things still to change 2017-08-14 11:05:49 +01:00
Salakar 0675aa076d Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
# Conflicts:
#	ios/RNFirebase/admob/RNFirebaseAdMob.m
#	ios/RNFirebase/database/RNFirebaseDatabase.h
#	ios/RNFirebase/database/RNFirebaseDatabaseReference.m
#	lib/modules/admob/index.js
#	tests/ios/Podfile.lock
2017-08-12 19:07:51 +01:00
Salakar ac258681bc Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
# Conflicts:
#	ios/RNFirebase/admob/RNFirebaseAdMob.m
#	ios/RNFirebase/database/RNFirebaseDatabase.h
#	ios/RNFirebase/database/RNFirebaseDatabaseReference.m
#	lib/modules/admob/index.js
#	tests/ios/Podfile.lock
2017-08-11 17:37:12 +01:00
Chris Bianca 97cc5ee131 [ios] Fix conditional imports 2017-08-11 16:07:39 +01:00
Chris Bianca af1f65f835 [ads][ios] Remove duplicate import 2017-08-10 15:02:25 +01:00
Salakar 78e9f4b7c7 [ios][database] updated keepSynced to now work with modifiers 2017-08-05 21:43:53 +01:00
Chris Bianca db68b4d05c [ios] Add RNFirebaseDatabaseReference to Xcode project 2017-08-03 11:35:55 +01:00
Chris Bianca a785b050db [database][ios][wip] Replicate Android changes on iOS 2017-08-02 16:51:57 +01:00
Salakar 7fc40a2740 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps 2017-07-30 07:34:51 +01:00
Salakar e3d1261973 [database][wip] refactor & improvements to add support for multiple apps 2017-07-30 07:34:41 +01:00
Akshet Pandey 6375f32c35 Fix incorrect status message when remote config fetch is successful 2017-07-29 15:59:17 -07:00
Salakar 33470419ed Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps 2017-07-20 09:59:52 +01:00
Chris Bianca 46772d253d [android][ios][database] Add missing setPriority and setWithPriority methods 2017-07-19 18:18:16 +01:00
Chris Bianca c2400edd0a [ios][config] Add react utils import 2017-07-19 16:22:00 +01:00
Chris Bianca 27453ac31a [ios][database] Refactor RNFirebaseDatabaseReference 2017-07-19 16:02:26 +01:00
Chris Bianca dc10f29b78 [ios][messaging] Add back in userNotificationCenter messaging methods 2017-07-19 12:49:18 +01:00
Salakar 03377255f6 [core][both] added delete app method (android is just a stub method as the firebase sdk does not support it) 2017-07-18 06:02:53 +01:00
Salakar d8fee7f5cb [auth][ios] finalised auth changed listener logic 2017-07-17 20:56:08 +01:00
Salakar 075cd690ce [android][ios][core] initialize app parameters no longer prefixed by platform name i.e iosClientId becomes clientId. Use react native platform module to provide platform specific options. 2017-07-17 19:43:36 +01:00
Salakar 48570f5510 [ios][auth] fix unlink method - missing appName / targeted app instance after master merge 2017-07-17 18:26:13 +01:00
Salakar 813b91f5ad [ios][app] apps initialized natively now automatically initialized js side - via react module getConstants 2017-07-17 18:20:27 +01:00
Salakar ef259fbbc0 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps 2017-07-17 17:35:16 +01:00
Salakar 97447dab5e [android][auth] implemented missing 'unlink' method 2017-07-12 16:26:02 +01:00
Salakar 282f953f52 [both] continued work on multi app support - storage now full supported and auth WIP 2017-07-12 15:49:33 +01:00
Salakar c6773dc808 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
# Conflicts:
#	android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuth.java
2017-07-12 13:39:29 +01:00
Salakar 0898f0913d [js][ios][android][auth] checkActionCode now returns an actionType string in the result 2017-07-12 12:59:35 +01:00
Salakar fd93d24e1a [js][ios][android][auth] checkActionCode implemented 2017-07-05 14:56:18 +01:00
Salakar 08f4f0c97b [js][ios][android][auth] applyActionCode implemented 2017-07-05 14:16:35 +01:00
Salakar 0dda8d9174 [js][ios][android][auth] confirmPasswordReset implemented 2017-07-04 18:22:18 +01:00
Salakar 333c449ab4 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-07-04 16:19:52 +01:00
Salakar 2f67e8b35b [both][database] all 'once' event types now supported - not just 'value' 2017-07-04 16:17:42 +01:00
Elliot Hesp ce0934d44c Merge branch 'master' of github.com:invertase/react-native-firebase 2017-07-04 15:40:03 +01:00
Elliot Hesp 92b3860230 [admob][ios] Fix an issue whereby interstitials on iOS could not be reused with the same adUnit ID 2017-07-04 15:39:56 +01:00
Salakar 9572538af0 [ios][database] added support for all eventTypes in ref.once(eventType) 2017-07-04 14:13:49 +01:00
Salakar f97db8eba1 more work on multiple apps support 2017-07-04 13:05:19 +01:00
Salakar ec22e510bc more work on multiple app initialization 2017-06-30 17:23:32 +01:00
nico 1f61933d65 removed newline 2017-06-29 18:27:47 +02:00
Salakar 80ae8425ce started work on multiple app initialization 2017-06-29 17:24:34 +01:00
nico d77dd094db fixed ios custom metaData 2017-06-29 18:12:57 +02:00
Elliot Hesp c22fb3911f [admob] Add openDebugMenu support 2017-06-27 15:14:02 +01:00
Michael Diarmid 2b6fe541e8 [ios] sendEmailVerification now correctly returns the currentUser 2017-06-20 19:49:45 +01:00
Elliot Hesp 52d94763bb [ios][admob] Check AdMob exists 2017-06-20 13:22:09 +01:00
Elliot Hesp 54bf957cb3 [admob] Support 11.0 VideoController methods 2017-06-20 12:19:26 +01:00
Elliot Hesp d159d9bb6b [ios][admob] Implement NativeExpress 2017-06-16 17:40:05 +01:00
Elliot Hesp 0e27d7345e Merge branch 'v2' of github.com:invertase/react-native-firebase into v2 2017-06-16 15:35:38 +01:00
Elliot Hesp 6af227b648 [ios][admob] Ensure previous banner is removed from view when re-rendering 2017-06-16 15:35:12 +01:00
Elliot Hesp 0525672860 [ios][admob] Use static helper methods over delegate methods 2017-06-16 15:22:35 +01:00
Elliot Hesp f6db5656ae [ios][admob] Fix testDevices not adding emulator device 2017-06-16 15:21:49 +01:00
Elliot Hesp af5bf655fe [ios][admob] Implement Banner 2017-06-16 15:20:34 +01:00
Chris Bianca 39041637eb Merge branch 'master' into v2
# Conflicts:
#	bin/cocoapods.sh
#	docs/installation-ios.md
#	ios/Podfile.template
2017-06-16 13:45:45 +01:00
Chris Bianca 4a7a7574db [ios] Break modules into subfolders 2017-06-16 11:15:42 +01:00
Elliot Hesp d031d332e3 [ios][database] Pass null key to NSDict for previousChildName 2017-06-16 09:30:02 +01:00
Elliot Hesp bafd59283f [ios][database] Prevent null value being passed to JSEvent 2017-06-16 08:39:16 +01:00
Elliot Hesp 3809fa8f63 [auth] Pass previousChildName back to callback 2017-06-15 14:55:52 +01:00
Chris Bianca 280145da9f [docs][ios] Remove react native link support due to issues and update documentation 2017-06-13 16:18:12 +01:00
Chris Bianca d68703da64 [ios] Update setup to use Podfile template contents 2017-06-13 16:12:35 +01:00
Michael Diarmid 87eb76520e [ios][auth] replace deprecated methods
- FIREmailAuthProvider() -> FIREmailPasswordAuthProvider()
- getIDTokenForcingRefresh() -> getTokenForcingRefresh()
2017-06-13 06:21:45 +01:00
Elliot Hesp 4c87131328 [crash][both] Add support for isCrashCollectionEnabled & setCrashCollectionEnabled 2017-06-12 14:26:56 +01:00
Elliot Hesp 9342a0e748 [admob][ios] Implement Rewarded Videos 2017-06-07 14:19:06 +01:00
Elliot Hesp 921eac06a4 [admob][ios] Finish up Interstitial with events + AdRequest handling 2017-06-07 12:37:32 +01:00
Elliot Hesp f92e1b7afd [admob][ios] Started basic working version of Interstitial 2017-06-05 17:00:59 +01:00
Chris Bianca 51f50ca17d [ios] Remove eventemitter interface when module hasn’t been included 2017-05-31 15:53:08 +01:00
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