Commit Graph
13 Commits
Author SHA1 Message Date
Paul Beusterien 451a6c24c2 Restore Catalyst unit testing in CI (#7185) 2020-12-17 07:45:13 -08:00
Maksym Malyhin 74b256b415 GUL: make NSURLSession promise extension public (#7097)
* GUL: make NSURLSession promise extension public

* GUL minor version bump to 7.2.0

* changelog
2020-12-04 15:56:35 -05:00
Mike Gerasimenko c8de4fcc03 FCM: Fix crash on iOS 14 when multiple app delegate completion methods are called (#6863)
* Fix crash on iOS 14 when multiple completion methods are called

* Fixed lint

* Addressed the PR comments & implemented unit tests

* Reverted auto-extracted method

* Re-organized tests

* Added completion handler for FIRAuth
2020-11-05 17:31:53 -05:00
Maksym Malyhin 7e70a6dd0b GoogleUtilities: NSURLSession promise extension (#6753)
* GoogleUtilities: NSURLSession promise extension

* Imports fix

* Changelog

* API and API docs

* style

* Changelog fix
2020-10-16 16:11:35 -04:00
Maksym Malyhin f198987a1a Firebase user agent: additional fields for platform logging (#6429)
* Move firebase user agent logic to a separate class.

* FIRAppTest: prefix some tests with the tested method names

* FIRAppTest: user agent new fields tests

* New user agent field added.

* Headers

* API docs

* ./scripts/style.sh

* nullability fix

* Move environment info methods to GoogleUtilities

* GULAppEnvironmentUtilTest

* GULAppEnvironmentUtil swift tests

* FirebaseApp user agent swift flag test

* ./scripts/style.sh

* Cleanup CoreDiagnostics

* Nullable device model

* FIRCoreDiagnosticsTest fix

* Merge fixes

* Fix import

* rename

* Cleanup GUL imports (since all headers are public now)
2020-10-13 08:53:42 -04:00
Maksym Malyhin 13beb58fa1 Refactor GULSwizzledObject to ARC to unblock SwiftPM support (#5862)
* Refactor GULSwizzledObject to ARC to unblock SwiftPM transition.

* run ./scripts/style.sh

* Assert a single swizzler per swizzled object.

* testMultiSwizzling: fix iOS 10 tests

* Changelog

* Cleanup
2020-10-08 16:02:56 -04:00
Ryan Wilson 19159a4b25 Fix tvOS storage issues. (#6658)
* Fix tvOS storage issues.

On tvOS devices, the ApplicationSupport directory cannot be used.
Unfortunately this doesn't come up in simulator testing, only on device.
This hasn't been fully tested on device but given that any writes to the
ApplicationSupport directory fail on tvOS, this change can't break much.

Fixes #6612

@defagos can you please give this a test?

* Fixed changed dir name for RC

* Fixed test naming, too.

* Fix the documentation comment for GoogleUtilities.

* Updated changelog.

* Review feedback
2020-10-08 11:28:41 -04:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Maksym Malyhin a2546398c0 Revert "GULKeychainStorage: use dictionary instead of NSCache (#6224)" (#6227)
This reverts commit c59d75f740.
2020-08-07 12:08:49 -04:00
Maksym Malyhin c59d75f740 GULKeychainStorage: use dictionary instead of NSCache (#6224)
* GULKeychainStorage: use dictionary instead of NSCache

* Changelog
2020-08-07 10:42:53 -04:00
Paul Beusterien ec54ab71ed Add missing <TargetConditionals.h> before TARGET_OS_OSX test (#6186) 2020-08-03 09:08:33 -07:00
Maksym Malyhin 72ecea5bba GULAppDelegateSwizzlerTest: use OCMClassMock for application to avoid mock conflicts with KVO (#6145) 2020-07-28 13:36:16 -04:00
Paul Beusterien 66f4afce0f Structural setup for SPM GoogleUtilities tests (#5999) 2020-07-08 08:30:03 -07:00