Commit Graph
49 Commits
Author SHA1 Message Date
Maksym MalyhinandPaul Beusterien a09718a7f2 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
2328d1f365 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 0dd8dda165 GoogleUtilities - Standardize imports and add LICENSE (#4655) 2020-01-10 14:14:41 -08:00
Chuan Ren 8843dbfd25 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 9927c06855.

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

This reverts commit a316673a69.

* 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 e4456c011b Enables Firebase Messaging push notification function on watch only and independent watch app (#4016) 2019-12-23 16:45:19 -08:00
Paul Beusterien 40045b8cd4 Consolidate SecureCoding to avoid a new subspec (#4462) 2019-12-09 13:42:46 -08:00
Vinay Guthal be17ade458 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 391271a807 Changelog and podspec for GoogleUtilities 6.3.1 (#3956) 2019-09-30 17:40:53 -07:00
Maksym Malyhin 5cb58b881d 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 96b828d9d9 Prep for GoogleUtilities 6.2.5 (#3548) 2019-08-12 06:59:15 -07:00
Maksym Malyhin ce199ba1e8 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 d4e85d6d1e GULObjectSwizzler fix dealloc thread safety (#3300) 2019-07-30 12:42:34 -07:00
Maksym Malyhin aee6c41244 Revert "GULMutableDictionary: use dispatch_sync instead of async." (#3337)
* Revert "GULMutableDictionary: use `dispatch_sync` instead of `async`. (#3322)"

This reverts commit f7c88f17bc.

* GoogleUtilities 6.2.3
2019-07-11 17:31:54 -04:00
Maksym Malyhin 2018feee0e 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 65f53e230c GoogleUtilities bump version to 6.2.1 (#3265) 2019-06-26 10:05:00 -04:00
Paul Beusterien 9a90af0a97 GoogleUtilities 6.2.0 (#3097) 2019-05-28 16:01:51 -07:00
Paul Beusterien 56807f383e GoogleUtilities to testspec and pod gen (#2908) 2019-05-28 11:35:51 -07:00
Paul Beusterien a9c454491c Stop conditional compilation for GoogleUtilities testing (#3058) 2019-05-23 07:06:26 -07:00
Maksym Malyhin 774a1e26a7 GoogleUtilities 6.1.0 (#2999) 2019-05-14 13:48:06 -04:00
Paul Beusterien 046290427f GoogleUtilities min ios version from 6 to 8 (#2876) 2019-04-22 15:53:39 -07:00
Paul Beusterien e3cafd4dfd GoogleUtilities to 5.8.0 (#2813) 2019-04-11 14:19:13 -07:00
Maksym Malyhin aa60779633 Bump GoogleUtilities version to 5.6.0 (#2715) 2019-04-03 16:55:55 -04:00
Paul Beusterien 145c111d1a Minimum osx to 10.11 (#2680) 2019-03-29 16:26:27 -07:00
Paul Beusterien 9502e8dda1 Restore GoogleUtilities 5.3.7 - revert os_log changes (#2556) 2019-03-14 13:01:41 -07:00
Paul Beusterien e524a8dc99 Fix GULResetLogger API breakage (#2552)
* Fix GULResetLogger API breakage

* podspec and CHANGELOG

* typo
2019-03-14 07:47:40 -04:00
Paul Beusterien 37842faf29 GoogleUtilities 5.4.0 (#2519) 2019-03-13 08:54:03 -07:00
Benoit St-Pierre 6b026aac76 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 feadeec161 GoogleUtilities 5.3.7 (#2258) 2019-01-14 17:15:06 -08:00
Paul Beusterien 2cb236c393 Fix GoogleUtilities nullability regressions (#2079) 2018-11-15 07:03:27 -08:00
Paul Beusterien 12bdfc8b90 GoogleUtilities 5.3.5 (#2067) 2018-11-13 09:54:25 -08:00
Paul Beusterien 5cfe567147 Bump GoogleUtilities patch version to deliver fix for #1964 (#1987) 2018-10-23 09:57:02 -07:00
Paul Beusterien fedfe662f2 Bump GoogleUtilities patch version for leak fix (#1960) 2018-10-17 11:02:46 -07:00
Paul Beusterien b661695b7b Bump version to 5.3.2 to rollback leak fixes (#1931) 2018-10-10 18:37:35 -07:00
Paul Beusterien 41826d7d08 GoogleUtilities to 5.3.1 to publish Xcode 10 leak fixes (#1926) 2018-10-10 10:54:34 -07:00
Paul Beusterien e5c8dd4896 Bump minor version for next GoogleUtilities release (#1837) 2018-09-18 13:16:09 -07:00
Paul Beusterien 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 2018-09-17 10:39:50 -07:00
Ryan Wilson ed30bc97ea Add GULUserDefaults to GoogleUtilities. (#1812)
* Add GULUserDefaults to GoogleUtilities.

This is a workaround for NSUserDefaults crashing when setting values
in the background in some situations on iOS 11. This uses the C API
in order to avoid an NSNotification firing (which a class eventually
tries to update the UI from the thread that set the value).

* Add missing copyright information.

* Resolve macOS issues, address feedback.

* Removed unnecessary enum value.
2018-09-14 11:59:08 -04:00
Paul Beusterien 6542b46158 Bump GoogleUtilities version to release analyzer fixes (#1776) 2018-09-05 08:02:34 -04:00
Paul Beusterien b581a5a9fc Bump GoogleUtilities version to push extension fix (#1648) 2018-08-07 10:28:38 -07:00
Tejas Deshpande 367f10701a Fix GoogleUtilities so that it compiles in app extensions. (#1641)
* Fix GULAppDelegateSwizzler so that it doesn't crash in app extensions.

* Remove custom code to check for app extension and instead depend on GULAppEnvironmentUtil.
2018-08-06 17:47:57 -07:00
Paul Beusterien 701b601963 Bump GoogleUtilities patch version to publish #1595 (#1596) 2018-07-26 18:10:08 -07:00
Paul Beusterien 9a2aa9fbcc Fix FIRLogger initialization after GULLogger (#1592)
* Migrate of kFIRPersistedDebugModeKey
2018-07-26 09:45:44 -07:00
Paul Beusterien 0645430495 GoogleUtilities version for initial publish 2018-07-25 06:51:14 -07:00
Tejas Deshpande 96438c722b Open source the Swizzler (#1564)
* Import the Swizzler sources into github

* Add subspecs to GoogleUtilities podspec

* Add post install step to test Podfile to add the preprocessor flags required for testing.

* Add the swizzler tests (except the flaky GULAppDelegateSwizzlerTest) to the Xcode project

* Add the AppDelegateSwizzler internal headers to the ios test header search path

* Add license header to GULLoggerCodes.h

* Fix/Suppress warnings in the framework.

* Disable certain classes for tvOS and macOS as well fix some additional pod lib lint warnings.

* Modify imports as well as add the required preprocessor flags to the test targets.

* Run pod deintegrate.
2018-07-20 15:48:03 -07:00
Paul Beusterien d9e7d21f6f Add GoogleUtilities README (#1541) 2018-07-16 12:47:47 -07:00
Paul Beusterien 81ec26d4ff Travis build test for GoogleUtilities on iOS 6 and iOS 7 (#1529) 2018-07-13 13:21:03 -07:00
Paul Beusterien 855a7665ae Restore iOS7 to GoogleUtilities (#1528) 2018-07-13 09:57:32 -07:00
Paul Beusterien c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 2018-07-11 08:28:35 -07:00
Paul Beusterien 98b6eef71e Split GoogleUtilities from FirebaseCore (#1370) 2018-07-06 09:37:23 -07:00