Commit Graph
65 Commits
Author SHA1 Message Date
Gran d1cc61cb16 Add test coverage to podspecs. (#7228) 2020-12-30 12:50:32 -08:00
Maksym Malyhin d13d25f55f 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
Paul Beusterien c8893f3fcd Fix unrecognized selector for isiOSAppOnMac on early iOS 14 betas (#6987) 2020-11-17 16:27:42 -08:00
841feebb23 Merge release 7.1.0 (#6944)
* Update versions for Release 7.1.0

* 7.1.0 update version of close source podspecs

* Release 7.1.0 cherry picks (#6917)

* 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

* Manifest: GDT 8.0.1

* Update Changelogs for 7.1.0 (#6913)

* Changelogs

Co-authored-by: Mike Gerasimenko <github@gerasimenko.me>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>

* Bump GDT podspec version to 8.0.1

* 7.1.0 SPM Analytics (#6933)

* Carthage update 7.1.0 (#6943)

Co-authored-by: Mike Gerasimenko <github@gerasimenko.me>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-11-11 09:25:42 -05:00
Maksym Malyhin 36c64d32a2 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 085c28535c 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 c5b01cbdcb 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
Paul Beusterien 708360405a One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Paul Beusterien 8310b2bed1 Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Paul Beusterien 1f6611ce87 Update podspecs to min iOS 10 (#6517) 2020-09-22 15:11:35 -07:00
Paul Beusterien dbeddedcf7 Update versions for Release 6.30.0 (#6252) 2020-08-11 11:52:21 -07:00
Paul Beusterien 5df09c2cca Cherry pick GoogleUtilities 6.7.1 fix to master (#6051) 2020-07-15 09:30:39 -07:00
Paul Beusterien ce70cf0c66 Structural setup for SPM GoogleUtilities tests (#5999) 2020-07-08 08:30:03 -07:00
Paul Beusterien e963219719 Update GoogleUtilities' clients with repo-relative imports (#5824) 2020-06-16 09:05:29 -07:00
Maksym Malyhin 8147354c8f Move FIRSecureStorage to GoogleUtilities (#5329)
* FIRSecureStorage -> GULKeychainStorage: renamed and moved to GoogleUtilities

* FIS updated to GULKeychainStorage

* Run ./scripts/style.sh

* Headers order

* GULKeychainUtils API docs

* GULKeychainStorage: require Keychain service name
2020-04-09 17:06:41 -04:00
Paul Beusterien 5b6911549c GoogleUtilities 6.5.2 (#5110) 2020-03-16 08:07:01 -07:00
Maksym MalyhinandPaul Beusterien 389957e593 Merge release 6.16.0 (#4763)
* Update versions for Release 6.16.0

* FirebasePerformance 3.1.10

* Firebase podspec - set ios.deployment_target = '9.0'  for InAppMessaging

* Delete duplicate function (#4744) (#4748)

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>

* Firebase.podspec: Revert Performance version bump (#4758)

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-01-28 18:04:14 -05:00
18218c5104 Merging the 6.15.0 release into master (#4682)
* Update versions for Release 6.15.0

* Update podspec dependencies for M62 (#4640)

* Cherry-picks for M62. (#4650)

* Include GoogleUtilities in the release manifest.

* Crashlytics fix header import ordering issue (#4649)

Co-authored-by: Sam Edson <samedson@google.com>

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2020-01-14 16:21:34 -08:00
Paul Beusterien 16f271cdd5 GoogleUtilities - Standardize imports and add LICENSE (#4655) 2020-01-10 14:14:41 -08:00
Chuan Ren 1ba93a65f7 Add GULSceneDelegateSwizzler (#4524)
* Add GULSceneDelegateSwizzler

* Comments updated

* Fix build issue on xcode 10.*

* Remove empty methods

* Format

* Fix pr issues

* Format

* Fix build issue

* Fix build issue

* Fix build issue

* Reuse plist keys for scene delegate swizzler

* Add tests for the NSNotificationCenter related code

* Fix pr issues

* Make proxyOriginalSceneDelegate and isSceneDelegateProxyEnabled callable before ios 13

* Keep interceptors iOS 13+ only

* Revert "Make proxyOriginalSceneDelegate and isSceneDelegateProxyEnabled callable before ios 13"

This reverts commit 9927c068558a0b4b09b9a62695322ac969a6117f.

* Fix a issue when the header is compiled but the implementation is not

This reverts commit a316673a69c5da52036ec72f675404767c63a8fc.

* Format

* Reuse [GULAppDelegateSwizzler isAppDelegateProxyEnabled]

* Fix build issue

* Revert to last green build

* Reuse [GULAppDelegateSwizzler isAppDelegateProxyEnabled] and fix other comments

* Make proxyOriginalSceneDelegate callable before ios 13

* Fix pr issues
2020-01-08 18:58:54 -05:00
Chen Liang 3a3dfda915 Enables Firebase Messaging push notification function on watch only and independent watch app (#4016) 2019-12-23 16:45:19 -08:00
Paul Beusterien 9e0f9b5857 Consolidate SecureCoding to avoid a new subspec (#4462) 2019-12-09 13:42:46 -08:00
Vinay Guthal 07eddbeba7 add heartbeat feature for ios sdks (#4098)
* add heartbeat feature

* fix client logtype

* make class functions

* add subspec changes

* remove test file

* add heartbeat  tests

* use FileDataStorage instead of Storage

* add style

* use file data storage instead of storage

* fix test location

* add tests

* address comments

* update storage heartbeat with the new api

* update format

* update formatting and use correct enums

* rename

* update storage

* fix heartbeat

* update heartbeat tests

* fix styling

* Revert change

* heartbeat storage

* add comments

* update storage

* address comments

* add comments

* address comments

* fix style

* add style

* add style

* move heartbeat date storage

* move to environment

* update tests

* add tests

* small change

* add google utilities

* delete the header file

* update tests

* remove headers

* fix comment

* gul heartbeat date storage

* Update versions for heartbeat PR (#4311)

* update podfile

* Fix Firestore build under CMake

GoogleUtilities must now build SecureCoding
2019-11-14 15:22:20 -05:00
Paul Beusterien cc432a93ee Changelog and podspec for GoogleUtilities 6.3.1 (#3956) 2019-09-30 17:40:53 -07:00
Maksym Malyhin 618f87000a GULSecureCoding introduced. (#3707)
* GULKeyedArchiver introduced.

* Bump GoogleUtilities version.

* Rename GULKeyedArchiver to GULSecureCodingTests. API cleanup.

* API notes.

* ./scripts/style.sh

* GoogleUtilities version 6.3.0
2019-08-27 17:59:27 -04:00
Paul Beusterien 48e00bf582 Prep for GoogleUtilities 6.2.5 (#3548) 2019-08-12 06:59:15 -07:00
Maksym Malyhin 85e993873f GoogleUtilities - M53 version bump and changelog (#3475)
* GoogleUtilities: bump patch version to 6.2.4

* GoogleUtilities: 6.2.4 changelog.
2019-07-31 09:34:14 -07:00
Maksym Malyhin 7ce2eef648 GULObjectSwizzler fix dealloc thread safety (#3300) 2019-07-30 12:42:34 -07:00
Maksym Malyhin 8ffab28bca Revert "GULMutableDictionary: use dispatch_sync instead of async." (#3337)
* Revert "GULMutableDictionary: use `dispatch_sync` instead of `async`. (#3322)"

This reverts commit c191cf887f.

* GoogleUtilities 6.2.3
2019-07-11 17:31:54 -04:00
Maksym Malyhin 25479073bc Bump GoogleUtilities version 6.2.2 (#3331)
* Bump GoogleUtilities version 6.2.2

* Changelog updates 6.2.2
2019-07-11 09:51:17 -04:00
Maksym Malyhin 5381f3e2b5 GoogleUtilities bump version to 6.2.1 (#3265) 2019-06-26 10:05:00 -04:00
Paul Beusterien ad34ba440a GoogleUtilities 6.2.0 (#3097) 2019-05-28 16:01:51 -07:00
Paul Beusterien aa1dea2a1a GoogleUtilities to testspec and pod gen (#2908) 2019-05-28 11:35:51 -07:00
Paul Beusterien 50b738c583 Stop conditional compilation for GoogleUtilities testing (#3058) 2019-05-23 07:06:26 -07:00
Maksym Malyhin 0d3832086c GoogleUtilities 6.1.0 (#2999) 2019-05-14 13:48:06 -04:00
Paul Beusterien 0f62f16f54 GoogleUtilities min ios version from 6 to 8 (#2876) 2019-04-22 15:53:39 -07:00
Paul Beusterien a97ffb186b GoogleUtilities to 5.8.0 (#2813) 2019-04-11 14:19:13 -07:00
Maksym Malyhin 896e044b54 Bump GoogleUtilities version to 5.6.0 (#2715) 2019-04-03 16:55:55 -04:00
Paul Beusterien e07d0352fe Minimum osx to 10.11 (#2680) 2019-03-29 16:26:27 -07:00
Paul Beusterien 6ec8719029 Restore GoogleUtilities 5.3.7 - revert os_log changes (#2556) 2019-03-14 13:01:41 -07:00
Paul Beusterien ffbf73e4aa Fix GULResetLogger API breakage (#2552)
* Fix GULResetLogger API breakage

* podspec and CHANGELOG

* typo
2019-03-14 07:47:40 -04:00
Paul Beusterien 4748d9b2aa GoogleUtilities 5.4.0 (#2519) 2019-03-13 08:54:03 -07:00
Benoit St-Pierre 0d717bb063 os_log Implementation of GULLogger (#2374)
* Step 1: Duplicate ASL Logger

This copies over the ASL logging system to a standalone Objective-C class.

* Step 2: Replace Logger with ObjC Implementation

This also moved the `forcedDebug` information to a property.

* Step 3: Remove unnecessary test methods

It does not seem necessary to drain the queue. If this is an issue on a platform I didn't test, we should implement the tests differently, such that surfacing the queue is not necessary.

* Style Fixes

* Test cleanup

* Removed FIRLoggerTest as they mostly actually test `GULASLLogger` functionality now.
* Renamed `GULLoggerInitializeASL` to `GULLoggerInitialize`.
* Use dot-notation for the defaultLogger class property.
* Removed unused debug only test methods.

* Rename FIRLoggerInitializeASL

* Style fixes

* ASL Logger cleanup and leaking

* Move ivar synthesis to the top of the implementation.
* Add dealloc logic to avoid leaking asl_obj memory.
* Add forced logic at the message level.

* GULLogger Testing

* Moved over old tests to correct ASLLogger location.
* Added new GULLogger tests
* Changed version `char *` to `NSString *`
* Tidied up some documentation

* Re-introduce ASL in the functions names

* os_log GULLogger Implementation

* Moved common logic from `GULASLLogger` to `GULLogger+Internal` class methods.
* Added `os_log` implementation of `GULLoggerSystem`
* Added `os_log` level information to `GULLoggerLevel`
* Removed unused test variable

TODO: Tests

* Remove iOS version check from ASLLogger

* Style Fixes

* Refer to ivar directly in property setter

* Refer to ivar directly in property setter

* Being os_log tests

* Setup dependency injection for os_log tests

* Rename C functions according to style and correctly test macOS version compatibility

* Further refinement of os_log testing

* Add Some OSLogger tests and update some ASLLogger ones

* Re-add getter for logLevel

* Fix up some warnings

* Remove private headers from local testing podspec

* More OSLogger tests & bug fixes

* Style Fixes

* Fix Travis build

* Update GULOSLoggerTest.m

* Do nt override method argument

* Fix test on tvOS

* Test Fixes

* Copybara test fixes

* PR Feedback
2019-02-22 16:32:57 -05:00
Paul Beusterien ce0d260a0c GoogleUtilities 5.3.7 (#2258) 2019-01-14 17:15:06 -08:00
Paul Beusterien f5176a52fc Fix GoogleUtilities nullability regressions (#2079) 2018-11-15 07:03:27 -08:00
Paul Beusterien 03ce26a78e GoogleUtilities 5.3.5 (#2067) 2018-11-13 09:54:25 -08:00
Paul Beusterien 69d1b98189 Bump GoogleUtilities patch version to deliver fix for #1964 (#1987) 2018-10-23 09:57:02 -07:00
Paul Beusterien 1b42624272 Bump GoogleUtilities patch version for leak fix (#1960) 2018-10-17 11:02:46 -07:00
Paul Beusterien 8d8077714d Bump version to 5.3.2 to rollback leak fixes (#1931) 2018-10-10 18:37:35 -07:00
Paul Beusterien 63549b484d GoogleUtilities to 5.3.1 to publish Xcode 10 leak fixes (#1926) 2018-10-10 10:54:34 -07:00