Commit Graph
42 Commits
Author SHA1 Message Date
Ryan Wilson 774db3ca4b Update versions for Release 7.8.0 (#7655) 2021-03-04 16:48:29 -05:00
Paul Beusterien ead5ff0bc7 Update versions for Release 7.7.0 2021-02-18 10:51:11 -08:00
Maksym Malyhinandelenadoty f4a7b1a7ca Merging the 7.6.0 release into master (#7488)
* Update versions for Release 7.6.0

* Cherry-pick change to fix binary image race condition. (#7477)

* Cherry-pick change to fix binary image race condition.

* Change log

Co-authored-by: elenadoty <elenadoty@google.com>
2021-02-09 13:46:46 -05:00
Ryan WilsonandAllen Vicencio f0c7057402 Merging the 7.5.0 release into master (#7394)
* Update versions for Release 7.5.0

* Update SwiftPM for M88 7.5 (#7382)

* Update Analytics podspec to RC1 (#7385) (#7390)

Co-authored-by: Allen Vicencio <allenvic@google.com>

Co-authored-by: Allen Vicencio <allenvic@google.com>
2021-01-28 09:30:24 -05:00
Paul Beusterien 14d31eb9e3 Update versions for Release 7.4.0 2021-01-07 13:14:47 -08:00
Gran dc05755db8 Add test coverage to podspecs. (#7228) 2020-12-30 12:50:32 -08:00
Paul Beusterien 7134db831f Update versions for Release 7.3.0 2020-12-04 07:48:50 -08:00
Ryan Wilson 594fd8d426 Merge release 7.2.0 (#7077) 2020-12-02 15:56:17 -08:00
2c8ed61b87 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
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Paul Beusterien 12c9e3fef0 Stop using CocoaPods private headers (#6572) 2020-10-02 09:11:21 -07:00
Maksym Malyhin dfffd85572 FIS: disable IID migration tests by default (#6619)
* FIS: disable IID migration tests by default

* remove redundant env variable

* Fix merge errors
2020-10-01 16:08:39 -04:00
Paul Beusterien 5d0a1c8ccb Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
Maksym Malyhin 90c21428c0 M81 FIS cherry pick of #6570 (#6616)
* FIS: Additional FIRInstallationsItem validation (#6570)

* FIS API tests for no FID in response

* FIRInstallationsIDControllerTests: test names

* FIRInstallationsIDControllerTests: corrupted storage tests

* FIRInstallationsItem validation

* Fix FIRInstallationsItem.IIDDefaultToken copy

* Improve error description.

* FIRInstallationsItem validation error

* FIRInstallationsItem validation tests

* ./scripts/style.sh

* FIRInstallationsIDController: validate stored installation

* FIRInstallationsAPIService installation validation

* Changelog

* Update versions

* patch version

* release manifest
2020-09-30 13:10:30 -07:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Paul Beusterien 3ca4e99c0e Stop requiring pods to be static frameworks (#6557) 2020-09-28 14:08:16 -07:00
Paul Beusterien a39b515f3a Update podspecs to min iOS 10 (#6517) 2020-09-22 15:11:35 -07:00
Ryan Wilson 01fb2395bf Merging the 6.31.0 release into master (#6331) 2020-08-25 15:13:11 -07:00
Paul Beusterien 9a24e538a2 Update podspec dependencies for 6.30.0 (#6203) 2020-08-04 12:27:12 -07:00
Paul Beusterien ebe6365ceb Installations - new public header structure (#6174) 2020-07-31 07:40:55 -07:00
Maksym Malyhin 05b2458394 Merging the 6.28.0 release into master (#6040)
* Update versions for Release 6.28.0

* Release 6.28.0 - GDT cherry pick of #6010 and #6032 (#6035)

* [GDTCORUploadCoordinator startTimer]: don't restart timer if already started (#6032)

* [GDTCORUploadCoordinator startTimer]: don't restart timer if already started

* style

* `GDTCORUploadCoordinator.timer` - nullable

* GDTCORUploadCoordinator test utils thread safety.

* GDTCORFlatFileStorage: keep not expired events when expired batch removed (#6010)

* GDTCORFlatFileStorage: expiration clean up tests

* GDTCORFlatFileStorage: keep not expired events when expired batch removed

* Cleanup

* Cleanup

* Comments

* Comments

* Remove additional delays in tests

* style

* Changelog

* Changelog: remove 7.0.1
2020-07-14 20:09:13 -04:00
Paul Beusterien c07c89ee75 Repo-relative imports for Installations (#5832) 2020-06-17 07:26:40 -07:00
Paul Beusterien 5f370d6395 Release 6.27.0 (#5830) 2020-06-16 09:15:04 -07:00
Paul Beusterien 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 2020-06-16 09:05:29 -07:00
Paul Beusterien e15724a436 Migrate from interop pods to source_files header access (#5760) 2020-06-09 06:09:27 -07:00
Paul Beusterien d4621a636f Use preserve_paths instead of CocoaPods private (#5758) 2020-06-09 05:21:28 -07:00
Maksym Malyhin a427df4b19 Merging the 6.26.0 (M72) release into master (#5723)
* Update versions for Release 6.26.0

* M72 notices update (#5693)

* M72 notices update

* Revert formatting
2020-06-02 11:54:11 -04:00
Maksym MalyhinandMichael Haney b2ee5f3a62 Release 6.23.0 (#5426)
* Update versions for Release 6.23.0

* Add FIAM to release manifest (#5383)

* Don't leak upload packages or deadlock on lifecycle events (#5382) (#5384)

* Don't leak upload packages or deadlock on lifecycle events

GDTCORUploadPackages would call targetToStorage in -initWithTarget. When this method was running during app terminate, this would cause a deadlock because calling targetToStorage is re-entrant while GDTCORRegistrar is sending lifecycle events to all the instances it's tracking.

NSTimer's invalidate method is also called whenever a package is completed, retried, or expired, without regard to the presence of a package handler.

A unit test is added to ensure that GDTCORUploadPackage's are not leaked by a retain

TSAN caught no issues

* Don't mark GDTCORUploadPackage -init as unavailable

Co-authored-by: Michael Haney <mikehaney24@users.noreply.github.com>

* FIAM bump podspec version to 0.19.3 (#5386)

* M69: add FIS. (#5412)

* M69: add FIS.

* Bump FIS version to 1.2.0

Co-authored-by: Michael Haney <mikehaney24@users.noreply.github.com>
2020-04-21 14:34:28 -04:00
Maksym Malyhin 7bd8faaaa4 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 e338339c59 Remove platforms from podspec summaries (#5229) 2020-03-31 10:21:48 -07:00
5f5849da37 Merge release 6.21.0 (#5178)
* Update versions for Release 6.21.0

* Libraries should save state if a completion block is requested (#5147) (#5148)

* Libraries should save state if a completion block is requested

Currently, the onComplete block of sendXEvent:onComplete: is invoked when the event bytes are written to disk. However, if the app crashes before a lifecycle event occurs (trigger GDTCORStorage to serialize to disk), that event if effectively lost because the metadata has all been lost. This change triggers the saving of state of GDTCORStorage and prioritizers (if they implement it) if an onComplete block has been given.

* Remove RC from M67 (#5157)

* Revert "Migrate from using IID SDK for Remote Config to the new FIS SDK (#5096)" (#5156) (#5159)

This reverts commit 887ff82494.

* Only delete events when package was successfully delivered (#5172) (#5173)

* Only delete events when package was successfully delivered

* Add unit test to check that retrying a package delivery doesn't delete an event file

Co-authored-by: Michael Haney <mikehaney24@users.noreply.github.com>
Co-authored-by: Maksym Malyhin <mmaksym@google.com>
2020-03-24 09:31:29 -07:00
Maksym Malyhin 1bc3255436 Firebase Installations: validation of FIROptions parameters (#4683)
* FIS: Throw exception on incomplete Firebase config.

* API docs updated.

* FirebaseInstallations bump minor version: 1.1.0

* Fix tests

* Text fixed

* Make exception message more informative

* Fix Remote Config tests.

* Tests updated to use GCMSenderID if projectID is not available.

* Use `GCMSenderID` when `projectID` is not available.

* ./scripts/style.sh

* Comments

* GCMSenderID and projectID validation updated.

* Comment

* FirebaseInstallations: version bump to 1.0.1.

* FIS changelog

* FirebaseInstallations: version bump to 1.1.0

* FIS and Core changelogs.

* Changelogs remove GCMSenderID

* Typo

* Typo

* fix link

* Revert Core changelog

* FIS changelog fix.
2020-01-16 16:13:49 -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
Ryan Wilson 47aa9d2b7f Don't run unit test spec on watchOS. (#4645)
This won't run because the required version of InstanceID doesn't work
on watchOS (and watchOS doesn't have XCTests). This is a blocker for
publishing the pod.
2020-01-10 13:55:16 -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
Maksym MalyhinandChen Liang f62c7ddcec IID: version dependent on FirebaseInstallations (#4533)
* Firebase Installations: Instance ID now uses FIS under the hood. (#3398)

* Fix merge errors

* Use modular import for FIRInstanceID_Private.h

* Use modular imports for FirebaseInstanceID.h (#3509)

* Changes missing during the fix.

* Changes missing during merge.

* Fix header import.

* ./scripts/style.sh

* Fix FCM tests. (#3888)

* Fix IID FCM token check.

* FirebaseInstallation: merge master into FIS integration branch (#4076)

* Fix IID FCM token check.

* Unused constant deleted.

* FCM tests: fix bad merge.

* Remote Config test app: use local IID and FIS. (#4089)

* token request should pass through if token is not fresh (#4104)

* Merge errors fix.

* IID with FIS: send FIS auth token with IID token request (#4152)

* FIRInstanceIDTokenOperation: add FIS auth token to the IID token request.

* IID tests: don't use FIS private headers.

* IID: indication of compatibility with FIS (#4262)

* FIS: IID incompatible version exception.

* FirebaseInstallations.podspec: set preprocessor flags based on env vars.

* FIS Travis: set required env vars

* /scripts/style.sh

* IID: method to indicate FIS usege added.

* FIS: FIRInstantiationTimingEagerInDefaultApp

* FIS: FIRInstantiationTimingAlwaysEager

* IID: make compatibility method static.

* Make -[FIRInstanceID appInstanceID:] safe to be called from any thread (#4482)

* IID: use a cached value of FID for -[FIRInstanceID appInstanceID:]

* TODO comment

* TODO updated

* FirebaseInstallations: prepare IID with FIS dependency for release (#4522)

* Bump FIrebaseInstallations to 1.0.0

* Travis: remove mm/fis-integration-master branch

* Travis: if_changed script updated to reflect IID dependency on FIS.

* Revert "Travis: remove mm/fis-integration-master branch"

This reverts commit 534dff990a.

* Travis: remove mm/fis-integration-master branch (#4526)

* Formatting and spelling.

* Firebase example proj: pod deintegrate

Co-authored-by: Chen Liang <chliang@google.com>
2019-12-20 10:54:11 -05:00
Maksym Malyhin eaa7ffce86 FirebaseInstallations: require Core version with heartbeat (#4511)
* FIS: require Core version with heartbeat

* Set proper Core version
2019-12-18 11:05:21 -05:00
Ryan Wilson 306e6c0622 Fix OCMock issues with FIS (#4406)
Fixes #4351
2019-11-27 12:08:47 -05:00
Paul Beusterien 9c803fc356 Lock OCMock to 3.4 while investigating test failures with 3.5.0 (#4344) 2019-11-18 16:40:58 -08:00
Maksym Malyhin f6e1eea53c FIS: IID incompatible version exception. (#4258)
* FIS: IID incompatible version exception.

* FirebaseInstallations.podspec: set preprocessor flags based on env vars.

* FIS Travis: set required env vars

* /scripts/style.sh

* FIS: FIRInstantiationTimingEagerInDefaultApp

* FIS: FIRInstantiationTimingAlwaysEager
2019-11-07 13:26:52 -05:00
Maksym Malyhin 89bae97cd5 Firebase Installations: integration tests on Travis (#3652) 2019-08-27 17:43:49 -04:00
Maksym Malyhin 8e73ddb222 Firebase Installations as standalone SDK (#3376) 2019-07-17 20:07:35 -04:00