Commit Graph
69 Commits
Author SHA1 Message Date
Gran 50d90e163a Add test coverage to podspecs. (#7228) 2020-12-30 12:50:32 -08:00
Visu 9b22d6a8ec Make the URLs used by Google Data Transport available in a Public API. (#7167) 2020-12-15 12:35:50 -08:00
Paul Beusterien beeb5474a8 Bump nanopb to 0.3.9.7 (#7108) 2020-12-11 07:04:34 -08:00
Jeremy Jiang 94b4e1cc72 Bump up GoogleDataTransport version to 8.1.0 (#7075)
Bump up version to 8.1.0
2020-12-02 11:42:00 -05:00
Maksym Malyhin 3bf718ce6e GDT storage cleanup: optimizations for big amount of pending events (#7014)
* GDT storage cleanup performance testing

* style

* GDTCORDirectorySizeTracker - autoreleasepool in cycles

* [GDTCORFlatFileStoragecheckForExpirations] - autoreleasepool in cycles

* TestApp: Performance testing tweeks

* Revert "[GDTCORFlatFileStoragecheckForExpirations] - autoreleasepool in cycles"

This reverts commit e0573f5a1b2d481e6724c2d080bb199b0c701df2.

* [GDTCORUploadCoordinator signalToStoragesToCheckExpirations]: signal once per storage

* Revert "Revert "[GDTCORFlatFileStoragecheckForExpirations] - autoreleasepool in cycles""

This reverts commit 34e9eee1315211945fcae7e15dffe3f0efe55b17.

* style

* changelog
2020-11-24 12:46:50 -05:00
Maksym Malyhin 6f45d5e680 GDT: test app fixes (#6897)
* Add bridging header to GDTTestApp to expose private API

* Update OS versions of test apps

* Use spec OS vesrions for tests and apps

* Use local variables for deployment targets
2020-11-11 12:56:45 -05:00
4330666074 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 40557bc7ba Stop failing on warnings (#6807) 2020-10-22 13:38:26 -07:00
Paul Beusterien f8c85ef847 Update GDT version for M82 (#6729) 2020-10-14 12:32:31 -04:00
a46e0f7c6b Merge release-6.34.0 branch after patch (#6701)
* Update versions for Release 6.34.0

* 6.34.0 updates for SwiftPM (#6614)

* 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

* FIS: don't log anything on success validation (#6635)

* Update changelogs (#6649)

* GoogleDataTransport: deprecated API conditions (#6697)

* GoogleDataTransport: deprecated API conditions

* Version bump

* use `TARGET_OS_IOS`

* changelog

* changelog

* style

* Fix merge

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2020-10-08 15:11:00 -04:00
Maksym Malyhin 0eb76b0c87 GDT: move some headers from public to internal (#6643)
* Move extra public headers to Internal and fix imports

* Cleanup

* Use relative paths in internal headers

* Fix imports in internal headers

* ./scripts/style.sh

* Fix GDTTestApp

* Fix test app

* Use real uploader for watchOS test app

* comma
2020-10-05 14:00:49 -04:00
Paul Beusterien 15618bb97c Bump nanopb to fix Xcode 12 warning (#6659) 2020-10-05 09:50:50 -07:00
Paul Beusterien f749a3ff65 Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
Ryan Wilson c857d7f395 Update versions for Release 6.34.0 2020-09-30 13:09:59 -07:00
Paul Beusterien d96c75efe5 Stop requiring pods to be static frameworks (#6557) 2020-09-28 14:08:16 -07:00
Paul Beusterien fc0d35f0d9 Merge remote-tracking branch 'origin/master' into pb-f7-msg-update 2020-09-22 15:46:23 -07:00
Paul Beusterien 08dffdf297 Update podspecs to min iOS 10 (#6517) 2020-09-22 15:11:35 -07:00
Maksym Malyhin 97159f737f Bump CoreDiagnostics and GDT version (#6440) 2020-09-11 14:17:28 -04:00
Ryan Wilson ea98b3ac52 Merging the 6.31.0 release into master (#6331) 2020-08-25 15:13:11 -07:00
762763c523 Update nanopb py3 0.3.9.5 -> 0.3.9.6 (#6214)
* update nanopb from 0.3.9.5 to 0.3.9.6

This fixes issues building firestore SDK with Python3.
Interestingly, latest version 0.4.2 still errors during the build
but 0.3.9.6 works. The git commit for this fix in nanopb
https://github.com/nanopb/nanopb/commit/63f8e5e4946a5f8f0211b454bd37187871c3d023

* Update generated sources

* updating just nanopb dependency version

nanopb updated from 0.3.9.5 to 0.3.9.6
(pod version 1.30905.0 to 1.30906.0)

* Add missing source specifier

* Generated files for protos using nanopb 0.3.9.6

* removed unnecessary whitespaces in files generated by protoc

* using more qualified relative paths for header includes

* Changelog

Co-authored-by: Marek Gilbert <mcg@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-08-14 14:13:01 -07:00
Paul Beusterien aa6891b7bc Update podspec dependencies for 6.30.0 (#6203) 2020-08-04 12:27:12 -07:00
Paul Beusterien 9df3e63b77 GDT - new public header structure (#6177) 2020-07-31 08:12:23 -07:00
Paul Beusterien a825b54ea4 Update versions for Release 6.29.0 (#6146) 2020-07-28 13:07:39 -07:00
Maksym Malyhin 8511d4a4e5 GDT: Retry uploading batches failed to upload before the app termination (#5942)
* GDTCCTUploaderTest: test a lost batch upload retry

* GDTCCTUploader: refactoring to prepare for lost batches uploading

* GDTCCTUploader: Upload previously batched events first

* Fix GDTCCTTestStorage

* Refactor GDTCCTUploaderTest

* GDTCORFlatFileStorageTest: batch tests

* GDTCORFlatFileStorage: refactor removeBatchWithID to prepare for eventsForbatchID

* eventsInBatchWithID implementation

* Fix tests

* Uploader fix for empty batch state

* GDTCORUploadCoordinator: high priority targets

* style

* GDTCCTUploaderTest

* GDTCCTUploaderTest: cleanup

* Cleanup and API docs.

* GDTCORUploadCoordinator: revert high priority targets

* GDTCCTUploader: make sure GDTCOREventQoSFast is part of a regular batch as well.

* Cleanup

* GDTCCTUploader: don't report ready for upload until there are events.

* GDTCCTUploaderTest: move failed batch back to the queue

* GDTCORFlatFileStorage: removeBatchWithID with deleteEvents==NO

* GDTCORFlatFileStorage: remove batch directory

* style

* GDTCORFlatFileStorage: comments and debug logs

* formatting

* GDTCCTUploaderTest: recover tests

* GDTCCTTestServer: support for async request handler

* GDTCCTUploaderTest: ongoing request tests

* GDTCORStorageProtocol: remove redundant `eventsInBatchWithID` method.

* GDTCORFlatFileStorageTest: `removeBatchWithID` tests

* Cleanup

* GDTCORFlatFileStorage: cleanup

* GDTCORFlatFileStorageTest: better coverage and cleanup

* Comments and improvements

* GDTCCTUploaderTest: reduce code duplication

* GDTCCTUploaderTest: conditions tests

* GDTCCTUploader: fix next request wait time

* run ./scripts/style.sh
2020-07-07 09:10:22 -04:00
Paul Beusterien 67898e7efa GDT Repo-relative imports and SPM (#5909) 2020-06-24 17:50:15 -07:00
Paul Beusterien 3b06ecc1f0 Consolidate GDT and GDTCCT to a single pod (#5902) 2020-06-24 14:09:46 -07:00
Michael Haney d36997af83 Update versions and dependencies (#5888)
* Update versions and dependencies

* Fix GDTCCT version
2020-06-23 16:24:30 -07:00
Michael Haney 260f211587 Update GDT versions and deps (#5713)
* Update GoogleDataTransport.podspec

* Update GoogleDataTransportCCTSupport.podspec

* Update FirebaseCrashlytics.podspec

* Update CHANGELOG.md

* Update GoogleDataTransportCCTSupport.podspec

* Update FirebaseCrashlytics.podspec
2020-06-02 11:03:38 -07:00
Michael Haney bc705ccf30 Update GDT CHANGELOG and version (#5690)
* Update CHANGELOG.md

* Update GoogleDataTransport.podspec

* Update GoogleDataTransport.podspec

* Update CHANGELOG.md
2020-05-27 13:08:46 -07:00
Michael Haney ac6d75a818 Fixes the count file not being found (#5584)
* Fixes the count file not being found

Calling the new GDTCORRootDirectory() function ensures that the directory needed is created before an attempt to write is made.

Fixes #5549

* Update CHANGELOG and versions
2020-05-12 15:17:09 -07:00
Michael Haney cdcb21c958 Update GDT CHANGELOGs, versions, and dependencies. (#5480) 2020-04-28 11:11:11 -07:00
Michael Haney 58483b11e0 Update CHANGELOGs and GDT versions and dependencies (#5354)
* Update CHANGELOGs and GDT versions and dependencies

* Update FIRCD CHANGELOG as well

* remove unreleased section from changelogs
2020-04-13 17:04:41 -07:00
Michael Haney 9662f3ebc6 Merge storage refactor back to master (#5322)
* Make mph-gdtsqlite run travis (#3861)

* Implement a SQLite helper (#4075)

* Add support for in-memory and other types of stores (#4158)

* Add support for in-memory and other types of stores

* Temporarily add -x to know what's causing check.sh to fail

* Remove -x

* DO NOT MERGE TO MASTER: Remove commit math from check.sh temporarily

* Initial implementation of GDTCORDatabase (#4180)

* Initial implementation of GDTCORDatabase

* Style

* Check result of running a statement

* Simplify init

Also support >1 :memory: db

* Write test docs and fix one tsan issue (#4211)

* wip moving storage to sqlite

* Revert "wip moving storage to sqlite"

This reverts commit ee1895f1bdd8fa437bfcb4a16d453eb419cbabc0.

* Address tsan issue and document tests

* Address implicit self retains

Don't know why these aren't surfaced locally, I have the warning on.

* Implement bulk sql execution (#4528)

* Change custom prioritization dictionary to bytes (#4534)

* Change custom prioritization dictionary to bytes

* Fix a missed change for customBytes

* Refactor GDT's storage to be an interface (#5022)

* Refactor GDT's storage to be an interface

- Events are now removed by eventID
  - Events now generate an ID when they are alloc/inited
  - Copying events also copies their eventID
  - Event hashing takes into account the eventID
  - A static method in GDTCOREvent creates  event IDs as the concat of <session counter><event counter during session>
  - Session counters are incremented and stored in user defaults at app start
- Storage instances register themselves with GDTCORRegistrar like prioritizers and uploaders
- Storage fakes are refactored to be registered with GDTCORRegistrar
- Added some missing docs and fixed some typos

* Remove an unintended change from assert macro

* Use a variable

* Additional docs and test fixes

* Move saving the counter value to a file

* Update docs

* Rename GDTCORStorage to GDTCORFlatFileStorage (#5079)

* Rename GDTCORStorage to GDTCORFlatFileStorage

* Fix the NSCoding keys

* Fixes to get building and unit tests passing

* Address lack of thread safety affecting lifecycle tests

* Style

* Transition customPrioritizationDict to customBytes

Adds a category  on GDTCOREvent to make checking network connection info easier.

* Remove all sqlite and database stufff or the purposes of merging back to maste (#5330)

* Update .travis.yml
2020-04-09 13:14:15 -07:00
Jason Hu adb5d2bb2f Update GDT dependencies for Crashlytics (#5234) 2020-03-31 15:08:06 -04:00
Michael Haney 4e2b4e99d6 Update GDT versions, deps, and CHANGELOGs (#5138) 2020-03-18 06:34:51 -07:00
Jason Hu 843e899c65 Pin Crashlytics to GoogleDataTransport 5.0.1 and GoogleDataTransportC… (#5133) 2020-03-17 18:48:07 -04:00
Maksym MalyhinandSam Edson 0c44e2cda0 Merge release 6.19.0 (#5058)
* Update versions for Release 6.19.0

* GoogleDataTransportCCTSupport - bump GoogleDataTransport dependency to ~> 5.0

* FirebaseCoreDiagnostics 1.2.2 - bump GoogleDataTransportCCTSupport dependency to ~> 2.0 (#5016)

* M66 FirebaseCoreDiagnostics added to the release manifest (#5018)

* M66 FIAM GoogleDataTransportCCTSupport dependency bump to '~> 2.0' (#5019)

* Cherry Pick Crashlytics Upload Symbols (#5046) (#5047)

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

* M66: Crashlytics dependency versions update.

Co-authored-by: Sam Edson <samedson@google.com>
2020-03-10 17:54:29 -04:00
Doudou Nan 3d181a50ee Update gdt and gdtcct podspecs (#4983)
* update gdt and gdtcct podspecs

* delete Foundation, platformKits

* platform specs
2020-02-26 16:59:48 -08:00
Ryan Wilson 9225523a24 Merging the 6.18.0 release into master (#4974)
* Update versions for Release 6.18.0

* Forward declare class to fix linting. (#4935)

* Revert "Forward declare class to fix linting. (#4935)" (#4937)

This reverts commit 64bbf378bb509e20ba97af731971906f008301c9.
2020-02-26 08:43:38 -08:00
Paul Beusterien 99bb6ebb2e Merge 6.17.0 (#4885) 2020-02-11 08:27:12 -08:00
Maksym MalyhinandPaul Beusterien ec0342dc0f 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
26f00e6f10 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
Michael Haney 9c5af79744 Disable project generation for watchOS (#4597) 2020-01-06 12:54:28 -08:00
Chen Liang 6433f2c238 Enables Firebase Messaging push notification function on watch only and independent watch app (#4016) 2019-12-23 16:45:19 -08:00
Maksym Malyhin ef41d6c8ce GoogleDataTransport minor version bump (#4359) 2019-11-19 13:45:29 -05:00
Maksym Malyhin 508640f0fc CoreDiagnostics and GDT patch version bump (#4357) 2019-11-19 13:05:41 -05:00
Michael Haney 86b28be54b Send diagnostic data to the FLL backend instead of the CCT backend (#4196)
* Send diagnostic data to the FLL backend instead of the CCT backend

* Handle FLL redirects and set the User-Agent

The podspec now surfaces the SDK version.

* Add unit tests for handling redirects
2019-11-15 01:30:19 -08:00
Ryan Wilson 9ecd3decaa Update versions for Release 6.13.0 (#4318) 2019-11-14 16:50:23 -08:00
Paul Beusterien c3ac90a9e5 Post GDT patch release merge (#4065) 2019-10-14 14:06:11 -07:00
Michael Haney edebe07628 Fix monkey test path (#3980)
Also fix unwrapping an optional in the test app
2019-10-04 10:05:57 -07:00