Commit Graph

320 Commits

Author SHA1 Message Date
Chris Bianca cb28c458a8 Merge commit '637cd81424b9a18cdec9735492a21f06be4e7ccf' 2018-01-18 09:49:27 +00:00
Chris Bianca a0de480fc7 [auth] Some flow types and tidy up 2018-01-18 09:49:11 +00:00
Michael Diarmid c14d9292b0
Merge pull request #655 from invertase/auth-language
Set auth language #654
2018-01-17 15:23:41 +00:00
Michael Diarmid 097ffbf494
Merge pull request #726 from AWDGroup/patch-1
Fixed: attempt to insert nil object from objects[0]
2018-01-17 15:16:45 +00:00
Michael Diarmid c9903706ab
Merge pull request #740 from hisokakei/ios-foreground-notif
Enable foreground notification on ios
2018-01-17 15:08:07 +00:00
Chris Bianca 285e31df65 [auth] Remove superfluous getCurrentUser method which doesn’t exist in API 2018-01-16 17:39:27 +00:00
Omer Levy 8d7152fe70 avoid call resolve on createShortDynamicLink error and remove try/catch in the js wrapper module 2018-01-12 16:39:18 +02:00
Chris Bianca 5e062868fc [firestore] Add FieldPath support to DocumentSnapshot and Query 2018-01-11 18:28:14 +00:00
Chris Bianca 01ef45d816 [ios] Tidy up framework search paths 2018-01-11 10:36:29 +00:00
Chris Bianca cfbef06776 [ios] Tidy up header search paths 2018-01-10 10:33:10 +00:00
Kevin 3c0f562716 Merge remote-tracking branch 'upstream/master' into ios-foreground-notif 2018-01-10 13:59:50 +08:00
Elliot Hesp 409cd70ab1 [auth] Update iOS methods to internals change 2018-01-08 10:07:15 +00:00
Jose Pablo Rocha, Jr 6d31320686
Set NSNumber to nonnull for storage config calls
Made change requested by Chris Bianca via Discord chat. New versions of react-native requires that all NSNumber arguments are explicitly marked as `nonnull` to ensure compatibility with Android.

Only changed for a few storage methods. The other method exports with NSNumber will probably need to be updated as well, but I did not have a project setup to test them.
2018-01-07 15:09:40 -06:00
Elliot Hesp 9d47709ffa Merge with master 2018-01-06 14:47:11 +00:00
Ardavan Kalhori 74d614ad43
Fixed: attempt to insert nil object from objects[0]
Fixed the issue that was causing a crash in my application:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000011310e12b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00000001127a6f41 objc_exception_throw + 48
	2   CoreFoundation                      0x000000011314e0cc _CFThrowFormattedException + 194
	3   CoreFoundation                      0x0000000113022951 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321
	4   CoreFoundation                      0x00000001130227db +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
	5   Mesghal                             0x000000010ace08c2 sendDynamicLink + 226
	6   Mesghal                             0x000000010ace0d0f __71+[RNFirebaseLinks application:continueUserActivity:restorationHandler:]_block_invoke + 447
	7   libdispatch.dylib                   0x0000000113fcd2f7 _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x0000000113fce33d _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x0000000113fd95f9 _dispatch_main_queue_callback_4CF + 628
	10  CoreFoundation                      0x00000001130d0e39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	11  CoreFoundation                      0x0000000113095462 __CFRunLoopRun + 2402
	12  CoreFoundation                      0x0000000113094889 CFRunLoopRunSpecific + 409
	13  GraphicsServices                    0x00000001154d29c6 GSEventRunModal + 62
	14  UIKit                               0x000000010f60b5d6 UIApplicationMain + 159
	15  Mesghal                             0x000000010a6b688f main + 111
	16  libdyld.dylib                       0x000000011404ad81 start + 1
)
2018-01-05 16:43:02 -08:00
Chris Bianca 0fe2fec819 [internals] More tidy up and hiding of internal functions 2018-01-03 20:00:38 +00:00
Chris Bianca 92ae311ed1 [ios] Final header fix for crashlytics 2017-12-15 17:16:32 +00:00
Chris Bianca c8d82207f4 [crashlytics][ios] Fix a couple of minor issues 2017-12-15 17:04:11 +00:00
Chris Bianca 865944d9a9 [ios][links] Remove warning for dynamic links 2017-12-15 16:09:02 +00:00
Chris Bianca 2dcb84c327 [ios] Add Fabric and Crashlytics search paths 2017-12-15 16:04:54 +00:00
Chris Bianca 3a497fa1a2 [ios] Update podspec location to resolve RN 0.50+ install issues 2017-12-15 15:14:05 +00:00
Chris Bianca a03c445e0c [auth] Add support for state in email actions 2017-12-07 12:36:51 +00:00
Chris Bianca efeb24d168 [crashlytics] Add first version of crashlytics functionality 2017-12-06 17:25:17 +00:00
Marcel Friedrich 22ace9e3ed add smartbanner landscape for iOS 2017-12-03 19:15:26 +01:00
Elliot Hesp c736a6bb51 [auth][ios] Add app language constants 2017-11-30 12:08:12 +00:00
Elliot Hesp b266a04510 [auth][ios] Add auth language methods 2017-11-30 10:17:04 +00:00
Salakar 66fcbd5c24 [ios][firestore] added `enableLogging(boolean)` method 2017-11-28 08:02:05 +00:00
Kevin 02ac39678e flag checking fix 2017-11-16 16:58:10 +08:00
Kevin 0577518578 fix for 'show_in_foreground' flag of local notification for iOS 10+ 2017-11-16 15:45:29 +08:00
Michael Diarmid 1b6e4cbaad
[ios][auth] updatePassword fix
updatePassword using default app always by default, now uses correct app
2017-11-10 22:03:15 +00:00
Michael Diarmid d005e2f0aa
Fix for #607
signOut using incorrect app instance
2017-11-10 22:00:42 +00:00
Chris Bianca a633dab4a2 [perf][ios] Fix traceWithName 2017-11-09 15:39:25 +00:00
Salakar b36d320b83 Merge remote-tracking branch 'origin/master' 2017-11-08 11:44:05 +00:00
Salakar 615450f763 [ios][database] added `setPersistenceCacheSizeBytes(bytes: integer);` 2017-11-08 11:32:18 +00:00
Salakar 152c6a63c3 [ios][database] add enableLogging method 2017-11-08 11:15:24 +00:00
Christian Haug 1fdb907496 Add search paths for ios/Firebase when not using CocoaPods 2017-11-08 09:48:46 +01:00
Salakar 80c7faa0b1 [ios][perf] fix for #593 - trace incorrectly calling `startTraceWithName` instead of just `traceWithName` 2017-11-08 08:07:12 +00:00
Salakar 535de47ee1 [ios][auth] Fix issue with confirmPasswordReset, applyActionCode and checkActionCode not handling specific app instances 2017-11-07 09:54:38 +00:00
Chris Bianca e6b8ce193c Merge branch 'v3.0.x' 2017-11-01 17:47:15 +00:00
erezrokah 89584900d2 fix compilation issue on iOS 2017-11-01 13:22:27 +02:00
Chris Bianca 270279551a [firestore] Correctly support dates, geopoints, DocumentSnapshots and other types in startAt, startAfter, etc 2017-10-31 22:18:07 +00:00
Chris Bianca 6ae0049338 [firestore] Correctly support dates, GeoPoints and other types in `where` clause 2017-10-31 15:32:08 +00:00
Chris Bianca 5e12700c35 Merge commit '36c936779b9badf72a0a3d789efafd2dcdb5ba36'
# Conflicts:
#	ios/RNFirebase.xcodeproj/project.pbxproj
#	package.json
2017-10-31 14:33:31 +00:00
Chris Bianca d8fd09adef [firestore][ios] Correctly apply integer limit 2017-10-31 14:29:23 +00:00
Chris Bianca 402c1b05c5 [firestore][ios] Fix missing limit functionality on iOS 2017-10-31 07:34:41 +00:00
Chris Bianca 447f74c1d1 [auth][ios] Reload the user after updating their email address to ensure it’s up to date 2017-10-26 15:22:42 +01:00
Chris Bianca 7b6d6c8728 [auth][ios] Reload the user after updating the profile to ensure that it has up to date information 2017-10-26 15:10:00 +01:00
Chris Bianca 2b2f3ce594 [ios] Centralise event sending to ensure all events validate bridge present before sending 2017-10-26 11:55:07 +01:00
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