Commit Graph
49 Commits
Author SHA1 Message Date
Chen Liang b310be4f32 update changelog for messaging and instanceID in M59 (#4181) 2019-10-29 18:49:20 -07:00
Chen Liang 4d10f32641 update keychain access level (#4172) 2019-10-25 15:37:37 -07:00
Chen Liang e0b6d2347c tokenWithAuthorizedEntity: method should also check if token is fresh (#4096) 2019-10-16 16:09:03 -07:00
Chen Liang e954421c85 Update changelog for messaging and instanceID (#4077) 2019-10-15 17:03:08 -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 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
Paul Beusterien 7ac9dbcc9e Fix header issues exposed by :generate_multiple_pod_projects (#3803) 2019-09-09 10:25:50 -07:00
Paul Beusterien b28291b206 IID Changelog update for M55 (#3702) 2019-08-27 09:32:38 -07:00
Paul Beusterien 2741ec345d Move two internal iid headers to private for RC open sourcing (#3621) 2019-08-19 07:41:57 -07:00
Morgan Chen 7ffb3d53eb Update InstanceID changelog (#3480) 2019-07-31 16:38:32 -07:00
Morgan Chen 61b904ddc4 Fix crash in FIRInstanceID (#3465) 2019-07-31 14:36:46 -07:00
Morgan Chen 3188760398 Clean up changelogs (#3462)
* Clean up changelogs
2019-07-30 14:07:28 -07:00
Morgan Chen cfc52544de Update InstanceID changelog (#3386) 2019-07-18 11:09:33 -07:00
Paul Beusterien b35ca19ede Stop calling deprecated sendLogsWithServiceName (#3333) 2019-07-11 07:04:53 -07:00
Paul Beusterien 80ee059075 M51 GoogleUtilities, Messaging and IID Changelogs (#3258) 2019-06-25 16:24:59 -07:00
Morgan Chen d6af8615e2 Fix token fetch not invoking callback for unchanged token (#3251) 2019-06-25 10:47:59 -07:00
Chen Liang e407c0250c update changelog and fix a format issue in firestore (#3175) 2019-06-12 09:15:27 -07:00
Chen Liang f0f9d706b4 correct timezone proto key (#3132) 2019-06-07 12:29:54 -07:00
Chen Liang 7eb1747e4b Adding macOS support for Messaging and InstanceID (#2880) 2019-05-30 15:31:38 -07:00
Chen Liang 8ea582a04e Update release CHANGELOG (#3096) 2019-05-28 14:09:05 -07:00
Ryan Wilson 7e798c57b5 Fix common typos. (#3060) 2019-05-23 13:35:55 -04:00
Chen Liang 88871d5b3e kill assertion code (#3028) 2019-05-20 13:55:21 -07:00
Chen Liang 535549345a prepare release log for Messaging and InstanceID (#2995) 2019-05-14 14:08:14 -07:00
Maksym Malyhin 2b403a6041 FIRInstanceIDKeyPairStore crash fix (#2953)
* FIRInstanceIDKeyPairStore fix SecKeyRef memory management issue

* [WIP] FIRInstanceIDKeyPairStore - perform operations in the order they were scheduled

* Revert "[WIP] FIRInstanceIDKeyPairStore - perform operations in the order they were scheduled"

This reverts commit 7ff7b51236.

* FIRInstanceIDKeyPairStore - schedule updating public and private keys at once (not from a callback) to avoid modifications of keychain in between. Update `self.keyPair`  before updating keychain for all cases.

* Chengelog

* Don't use dispatch_group, rely on `FIRInstanceIDKeychain` serialized implementation instead
2019-05-13 18:13:53 -04:00
Chen Liang 39c7baed52 fix race condition checkin is deleted before writing during app start (#2860) 2019-04-18 11:00:39 -07:00
Chen Liang 8540c21864 Remove reflection call to get checkin info from InstanceID (#2825) 2019-04-16 13:10:08 -07:00
Maksym Malyhin 9c72e1a8e4 InstanceID - podspec lint fix (#2796) 2019-04-10 15:07:12 -04:00
Maksym Malyhin b9958368f1 Add initializer used by Swift 1p tests (#2794) 2019-04-10 12:03:54 -04:00
Chen Liang 2935f29fac update CHANGELOG for Messaging and InstanceID (#2787) 2019-04-09 16:32:56 -07:00
Chen Liang 8ab26dd651 remove test header from source code (#2783) 2019-04-09 15:54:09 -07:00
Chen Liang 0212c46f7c remove deprecated token API (#2741) 2019-04-08 16:19:21 -07:00
Maksym Malyhin beef575d4c Changelog updates for Messaging, Auth and InstanceID (#2758) 2019-04-08 17:07:19 -04:00
Paul Beusterien 76a003f4c8 Clean up unused Core error codes (#2737)
* Core patches can only be 2 digits
2019-04-08 06:58:49 -07:00
Maksym Malyhin c416b10ad4 Move reporting Firebase user agent from checkin to register (#2679) 2019-03-31 19:16:33 -04:00
Chen Liang f811fb2585 Update changelog for instanceID release (#2634) 2019-03-26 12:45:11 -07:00
Chen Liang bddf94e48b fix race condition that checkin can be deleted right after fetched (#2438) (#2631) 2019-03-26 10:18:02 -07:00
Maksym Malyhin 0738c0efd2 Fix handler for multiple calls of -[FIRInstanceID instanceIDWithHandler:] (#2445) (#2559) 2019-03-24 17:17:10 -04:00
Chen Liang 3c469b3853 Fix all IID analyzer warnings (#2613) 2019-03-22 18:04:31 -07:00
Chen Liang b34a2780bd Ensure token refresh notification is triggered any time a new token is refreshed. b/77662386 (#2562) 2019-03-22 13:45:02 -07:00
Maksym Malyhin 23191da81d InstanceID changelog update (#2557) 2019-03-14 15:46:43 -04:00
Chen Liang 8ed8504832 Rename ApplicationSupportDirectory in IID tests (#2553) 2019-03-14 11:02:58 -07:00
Maksym Malyhin ff76c8a646 FIRInstanceIDCheckinService: make sure tasks are not submitted to an invalidated NSURLSession (#2548)
FIRInstanceIDCheckinService: make sure tasks are not submitted to an invalidated NSURLSession (#2548)
2019-03-13 21:08:24 -04:00
Chen Liang 8061301cb9 File directory for tvOS should change from NSApplicationSupportDirector to NSCachesDirectory (#2496) 2019-03-13 08:57:47 -07:00
Chen Liang 216c77b99f Adding deprecation warning and update CHANGELOG (#2535) 2019-03-12 22:22:56 -07:00
Maksym Malyhin 0956f5d591 Send Firebase user agent from FIRInstanceIDCheckinService directly (#2509) (b/124533860) 2019-03-11 14:04:26 -04:00
Chen Liang 00168257df Make FCM and InstanceID compatible with tvOS (#2428) 2019-03-05 11:57:10 -08:00
Ryan Wilson 1b777acdca Fix IID singleton usage. (#2446)
The singleton is cached and vended from the Core component system, we
shouldn't wrap it in a dispatch_async or cache it with a global variable.

This matches a change internally that has been made and shipped.
2019-02-26 12:26:42 -08:00
Paul Beusterien 42c5ae17fc Open source InstanceID (#2414) 2019-02-21 10:51:38 -08:00