Commit Graph
901 Commits
Author SHA1 Message Date
Chuan Ren 11a3417d1c Revert "Add OIDC nonce support (#4183)" (#4220)
This reverts commit ffe4a3a5b4.
2019-11-01 13:14:07 -07:00
Sebastian Schmidt 05b7a8ec6f Update Database CHANGELOG.md (#4197) 2019-10-30 12:37:22 -07:00
Chen Liang b310be4f32 update changelog for messaging and instanceID in M59 (#4181) 2019-10-29 18:49:20 -07:00
Chen Liang 8a4b210f6f fix warning (#4186) 2019-10-29 18:49:01 -07:00
Chuan Ren ffe4a3a5b4 Add OIDC nonce support (#4183) 2019-10-29 13:03:37 -07:00
Chen Liang 67de928005 move database operation off main thread (#4053) 2019-10-28 12:45:47 -07:00
Ryan Wilson e4ac5b9e89 Fix documentation comments for the Container. (#4178) 2019-10-28 09:56:36 -04:00
Chen Liang 4d10f32641 update keychain access level (#4172) 2019-10-25 15:37:37 -07:00
Morgan Chen 532162d55d Update changelogs for M58 (#4135)
* Update changelogs for M58

* Remove link from Firestore changelog
2019-10-23 09:49:18 -07:00
Morten Bek Ditlevsen 0a04968d3d Workaround for NSDecimalNumber longLongValue issue. (#4109) 2019-10-18 10:56:10 -07:00
Paul Beusterien d8e3a11bb1 Restore Firebase pod to closed source location (#4112) 2019-10-17 09:45:04 -07:00
Chuan Ren e62d05b4f1 Remove !@available notation (#4105) 2019-10-16 17:04:33 -07:00
Chen Liang e0b6d2347c tokenWithAuthorizedEntity: method should also check if token is fresh (#4096) 2019-10-16 16:09:03 -07:00
Chuan Ren 7be3039d4e Built for xcode 10 (#4095) 2019-10-16 14:33:56 -07:00
Chuan Ren c7c58101e0 Revert "Add OIDC nonce support (#4071)" (#4082)
This reverts commit e88b52fb67.
2019-10-15 17:57:57 -07:00
Chen Liang e954421c85 Update changelog for messaging and instanceID (#4077) 2019-10-15 17:03:08 -07:00
Chuan Ren 5a39cf1071 Use UIApplication.connectedScenes on iOS 13 (#4066) 2019-10-15 13:19:09 -07:00
Chuan Ren e88b52fb67 Add OIDC nonce support (#4071) 2019-10-15 11:06:57 -07:00
Paul Beusterien 351a917787 FirebaseCore M58 release notes (#4069) 2019-10-15 08:06:45 -07:00
Chuan Ren 899b49bf5f Revert "Add OIDC nonce support (#4051)" (#4068)
This reverts commit c2bc304ad9.
2019-10-14 15:41:21 -07:00
Chuan Ren c2bc304ad9 Add OIDC nonce support (#4051) 2019-10-14 11:24:06 -07:00
Ryan Wilson 56b37d2543 Fix container instantiation timing, IID startup. (#4030)
* Fix container instantiation timing, IID startup.

The container instantiation could happen at the wrong time, before all
components have been added to the container. This fixes it, and also
moves IID to use the proper instantiation timing instead of relying on
the `configureWithApp:` call. This is part continuation of #3147, where
I'll be fixing the rest of the SDKs in follow up PRs.

* Typo

* Further work on instantiation timing.

This moves the instantiation of components to after the FirebaseApp is
completely configured and assigned, as it should be. This also exposed
a recursive issue with IID calling the Messaging singleton, which in
turn called IID and instantiated multiple instances.

A change was made to break the cycle: the Messaging `isAutoInitEnabled`
call was changed to a static method vs an instance method, allowing IID
to call it during initialization without instantiating the Messaging
instance (since it doesn't have a direct dependency on it).

* Revert unintentional formatting of entire FIRMessaging file.

* Fix tests.

* Format InstanceID.m

* Remove unused import.

* Fix ComponentContainer test.

* Minor PR feedback.
2019-10-11 17:20:46 -04:00
Chen Liang 28038e55aa Remove the class FIRMessagingRmq2PersistentStore (#4045) 2019-10-10 16:11:49 -07:00
Chen Liang b6ac437faa Remove migration logic from document folder to application folder (#4033) 2019-10-10 08:49:42 -07:00
Chen Liang af730a90ec Always check if IID and token are consistent (#4025) 2019-10-09 11:13:44 -07:00
Ryan Wilson bbcac27b72 Release 6.10.0 (#4022)
* Update versions for Release 6.10.0

* Cherrypick #3983 and include Database in release. (#3986)

* Remove log argument that causes SocketRocket crash (#3983)

* Add FirebaseDatabase to release.

* Update CHANGELOG with version.

* Cherrypick for #3984 along with CHANGELOG update. (#3988)

* Fix race condition in FIRComponentContainer instance creation (#3984)

* Fix race condition in FIRComponentContainer instance creation

Reported in #3967. Users sometimes seeing a crash when multiple threads
concurrently try to create Firestore instances. By inspection I found
that there's a race here where two threads can check for presence in the
cache, see nothing, proceed to creation, both store a value in the cache,
and both return their copies. This would lead to two Firestores being
created for a single App.

This replaces `dispatch_sync` on a serial queue with good old
`@synchronized` blocks. `dispatch_sync` will self-deadlock if called
from a thread already on the queue while `@synchronized` allows
recursion.

No new tests are added because several tests like
`testDependencyDoesntBlock` already cover this case.

* format

* Update Core CHANGELOG

* Update Core CHANGELOG again

* Fix merge from CHANGELOG
2019-10-09 12:10:33 -04:00
Ryan Wilson cac68743c9 Update NOTICES. (#4029)
* Update NOTICES.

* Update in new location as well.
2019-10-09 11:11:29 -04:00
Paul Beusterien 5895838392 Add Firebase Pod to the repo (#4021) 2019-10-08 14:57:07 -07:00
Morgan Chen 6905171d64 Update Auth changelog (#4015) 2019-10-07 15:20:05 -07:00
Chuan Ren 2c5e4fe741 Small improvements (#4014)
1. Update api for getting locale
2. Print claims instead of raw token
2019-10-07 14:37:58 -07:00
Gil 308e36a276 Fix race condition in FIRComponentContainer instance creation (#3984)
* Fix race condition in FIRComponentContainer instance creation

Reported in #3967. Users sometimes seeing a crash when multiple threads
concurrently try to create Firestore instances. By inspection I found
that there's a race here where two threads can check for presence in the
cache, see nothing, proceed to creation, both store a value in the cache,
and both return their copies. This would lead to two Firestores being
created for a single App.

This replaces `dispatch_sync` on a serial queue with good old
`@synchronized` blocks. `dispatch_sync` will self-deadlock if called
from a thread already on the queue while `@synchronized` allows
recursion.

No new tests are added because several tests like
`testDependencyDoesntBlock` already cover this case.

* format
2019-10-03 11:35:33 -04:00
Sebastian Schmidt 2b7ffaa37f Remove log argument that causes SocketRocket crash (#3983) 2019-10-03 07:01:37 -07:00
Michael Haney 6ac5b7d3a5 Update nanopb from 0.3.9.2 to 0.3.9.3 (#3977)
No appreciable change.
2019-10-02 13:29:10 -07:00
christibbs f3d1f53400 In-app messaging M57 release notes (#3979)
* Update CHANGELOG.md

* Update CHANGELOG for display SDK

* Slight update to display CHANGELOG
2019-10-02 16:19:36 -04:00
Chuan Ren 0e972754ba Block sign in with Apple in generic IDP flow (#3970) 2019-10-02 11:35:43 -07:00
christibbs eca21706ed Update FIAM for iOS 13 Scene lifecycle paradigm (#3927)
* Add UIScene lifecycle notifications alongside UIApplication ones

* Run styles.sh and update window helper to work on iOS 13

* Refactor foregrounded scene logic into its own method

* Conditional compilation for iOS 13 code

* Add notification parameter to notification selectors

* Fix placeholder
2019-10-02 14:32:55 -04:00
Chuan Ren 10ef0bb205 Add support of linkWithProvider and reauthenticateWithProvider (#3971) 2019-10-01 17:34:45 -07:00
christibbs 725fb86646 Remove RoundedCornersView since there's an issue with IBDesignables (#3969)
* Remove RoundedCornersView since there's an issue with IBDesignables in Xcode 11
- Wasn't saving us much code anyway

* Run styles.sh
2019-10-01 17:59:14 -04:00
christibbs c406ef5b12 Factor in space for top safe area insets into max height calculations in Modal and ImageOnly messages (#3957) 2019-09-30 20:44:29 -04:00
Matthias Blom b389b8bdec Set suppressMessageDisplay on displayExecutor (#3922) 2019-09-26 08:54:21 -07:00
Paul Beusterien fb353c22d4 Merge 6.9.0 (#3907)
* Update versions for Release 6.9.0

* Fix unbalanced background task creation in GDTCCTUploader (#3838) (#3839)

* Add Manifest

* dependency version update

* Cherry picks for 6.9.0 (#3871)

* fixed "expiclitlySet" typo. (#3853)

* Mark unused variables (#3854)

* Mute FCM deprecated warnings with Xcode 11 and min iOS >= 10 (#3857)

* Add a third slash to make sure generated docs include these comments.b/13812238 (#3846)
2019-09-23 10:41:33 -07:00
Chuan Ren 520c8d66e4 Add ERROR_DYNAMIC_LINK_NOT_ACTIVATED and ERROR_REJECTED_CREDENTIAL (#3881) 2019-09-19 11:11:16 -07:00
Paul Beusterien 59db09740c Mute FCM deprecated warnings with Xcode 11 and min iOS >= 10 (#3857) 2019-09-16 10:55:20 -07:00
square c917c87165 fixed "expiclitlySet" typo. (#3853) 2019-09-14 07:22:44 -07:00
Michael Haney 1671040a1f Update CHANGELOGs (#3810)
* Update CHANGELOGs

* Additional changes to CHANGELOGs
2019-09-09 16:07:04 -07:00
Michael Haney 18e2721c1d Rename GDT core libraries to GDTCOR (#3808) 2019-09-09 15:21:29 -07:00
Paul Beusterien 7ac9dbcc9e Fix header issues exposed by :generate_multiple_pod_projects (#3803) 2019-09-09 10:25:50 -07:00
Paul Beusterien e04843b5c4 Remove UIWebViewDelegate references (#3799) 2019-09-09 10:09:13 -07:00
Paul Beusterien d440418963 Fix SIGSEGV in callback after block is nil'd (#3786) 2019-09-06 11:10:39 -07:00
Ryan Wilson cbdf31dc4f Issue number, not PR number (#3785) 2019-09-05 17:01:28 -04:00