Commit Graph
7 Commits
Author SHA1 Message Date
Paul Beusterien 4a8ee3de60 Fix Catalyst define checks (#3958) 2019-09-30 16:37:21 -07:00
Paul Beusterien f3cc48a944 IID unit test update for Catalyst (#3534) 2019-08-08 09:57:39 -07:00
Chen Liang 7eb1747e4b Adding macOS support for Messaging and InstanceID (#2880) 2019-05-30 15:31:38 -07:00
Maksym Malyhin 8a6c1b6223 IID tests improvements (#3067)
* Use bridged __weak reference instead CFRetain/CFRelease
* Use SecKeyRef instead of FIRInstanceIDKeyPair for the memory management test
* Use SecKeyGeneratePair instead of SecKeyCreateRandomKey available since iOS 10 only
* FIRInstanceIDKeyPairStoreTest wait until all keychain operations finished before finishing a test
* FIRInstanceIDTokenManagerTest: cleanup in tearDown; fix expectation to produce an error nor a crash.
* Use properties instead of ivars FIRInstanceIDTokenManagerTest
* FIRInstanceIDTokenManager fix OCMPartialMock() usage.
2019-05-28 07:02:30 -07:00
Paul Beusterien 9a5afbffc1 Remove flaky retain count checking (#3065)
* Remove flaky retain count checking
* Disable test
2019-05-23 15:18:38 -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
Paul Beusterien 42c5ae17fc Open source InstanceID (#2414) 2019-02-21 10:51:38 -08:00