Commit Graph
57 Commits
Author SHA1 Message Date
Paul Beusterien 5d0a1c8ccb Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
Ryan Wilson 6feed3633d Update versions for Release 6.34.0 2020-09-30 13:09:59 -07:00
Paul Beusterien 3ca4e99c0e Stop requiring pods to be static frameworks (#6557) 2020-09-28 14:08:16 -07:00
Paul Beusterien eea957561c Merge remote-tracking branch 'origin/master' into pb-f7-msg-update 2020-09-22 15:46:23 -07:00
Paul Beusterien a39b515f3a Update podspecs to min iOS 10 (#6517) 2020-09-22 15:11:35 -07:00
Maksym Malyhin a7b4349080 Bump CoreDiagnostics and GDT version (#6440) 2020-09-11 14:17:28 -04:00
Ryan Wilson 01fb2395bf Merging the 6.31.0 release into master (#6331) 2020-08-25 15:13:11 -07:00
f33276f530 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 9a24e538a2 Update podspec dependencies for 6.30.0 (#6203) 2020-08-04 12:27:12 -07:00
Paul Beusterien 85e3354346 GDT - new public header structure (#6177) 2020-07-31 08:12:23 -07:00
Paul Beusterien 6d8edf902c Update versions for Release 6.29.0 (#6146) 2020-07-28 13:07:39 -07:00
Maksym Malyhin 4dd48bdcd9 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 5a5914da7e GDT Repo-relative imports and SPM (#5909) 2020-06-24 17:50:15 -07:00
Paul Beusterien e03a8d91a0 Consolidate GDT and GDTCCT to a single pod (#5902) 2020-06-24 14:09:46 -07:00
Michael Haney 62a98dc01e Update versions and dependencies (#5888)
* Update versions and dependencies

* Fix GDTCCT version
2020-06-23 16:24:30 -07:00
Michael Haney 20dfcbc62b 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 82cb49a959 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 08938f7c32 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 4f88be1118 Update GDT CHANGELOGs, versions, and dependencies. (#5480) 2020-04-28 11:11:11 -07:00
Michael Haney b6bda076e6 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 6c14c21bc9 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 ee1895f1bd.

* 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 287876c238 Update GDT dependencies for Crashlytics (#5234) 2020-03-31 15:08:06 -04:00
Michael Haney 36b717f09b Update GDT versions, deps, and CHANGELOGs (#5138) 2020-03-18 06:34:51 -07:00
Jason Hu 98aba2ee98 Pin Crashlytics to GoogleDataTransport 5.0.1 and GoogleDataTransportC… (#5133) 2020-03-17 18:48:07 -04:00
Maksym MalyhinandSam Edson ae7a3de1bd 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 54fb849390 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 f9a0ee2727 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 64bbf378bb.
2020-02-26 08:43:38 -08:00
Paul Beusterien e70f1ed1c7 Merge 6.17.0 (#4885) 2020-02-11 08:27:12 -08:00
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
Michael Haney 3fb0ed0919 Disable project generation for watchOS (#4597) 2020-01-06 12:54:28 -08: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 Malyhin bf4ebefe14 GoogleDataTransport minor version bump (#4359) 2019-11-19 13:45:29 -05:00
Maksym Malyhin a1f89955e9 CoreDiagnostics and GDT patch version bump (#4357) 2019-11-19 13:05:41 -05:00
Michael Haney efbf9bdf1d 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 3261d120a9 Update versions for Release 6.13.0 (#4318) 2019-11-14 16:50:23 -08:00
Paul Beusterien 81789f226f Post GDT patch release merge (#4065) 2019-10-14 14:06:11 -07:00
Michael Haney 1f1b0aa335 Fix monkey test path (#3980)
Also fix unwrapping an optional in the test app
2019-10-04 10:05:57 -07:00
Ryan Wilson 03ecafd06d Refactor GDT Backgrounding (#3896)
* Fix missing `runningInBackground` flags.

* Attempt at fixing background issues with GDT.

* Add missing deprecated implementation.

* Transfer extra call to background call.

* Style

* Further review comments.

* Fix testing.

* Refactored FLLIntegrationTest.

This does a few things - split the tests into a specific multithreaded
test and a recursive run without crashing.

It also adds a notification for the upload to post how many events were
uploaded. This should be a bit more reliable and helps the overall
validation during the "run without crashing" test.

* Removed extra log.

* Fix flag for Catalyst.

* Disable currently non-functional test.

* Further review comments.

* Migrate CCT tests to match FLL.

* Revert accidental partial change.

* Clarify comment for starting the background tasks.

* Review feedback, changelog additions and bug numbers.
2019-10-02 10:40:45 -04:00
Paul Beusterien fb353c22d4 Merge 6.9.0 (#3907)
* Update versions for Release 6.9.0

* Fix unbalanced background task creation in GDTCCTUploader (#3838) (#3839)

* Add Manifest

* dependency version update

* Cherry picks for 6.9.0 (#3871)

* fixed "expiclitlySet" typo. (#3853)

* Mark unused variables (#3854)

* Mute FCM deprecated warnings with Xcode 11 and min iOS >= 10 (#3857)

* Add a third slash to make sure generated docs include these comments.b/13812238 (#3846)
2019-09-23 10:41:33 -07:00
Michael Haney 8af6e47a1b Enable app_specs and monkey test if GDT_DEV is 1 (#3845)
* Enable app_specs and monkey test if GDT_DEV is 1

Also address GDT renaming in the test app.

* Fix indentation
2019-09-13 13:26:31 -07:00
Michael Haney 5e4dcf23d9 Remove app_spec from GDT (#3825)
Fixes #3824
2019-09-11 17:31:22 -07:00
Michael Haney 7417ee0db2 Create a GDT test app for generating events (#3775)
* Create a GDT test app for generating events

* Add monkey tests and support for tvOS and macOS in the test app app_spec

* Comment out tests for now

Needs >= cocoapods-1.8.0

* Remove unsupported property
2019-09-10 00:12:26 -07:00
Michael Haney 18e2721c1d Rename GDT core libraries to GDTCOR (#3808) 2019-09-09 15:21:29 -07:00
Maksym Malyhin 89a276928c Merging the 6.8.0 release into master (#3783)
* Update versions for Release 6.8.0

* RemoteConfig fix pod spec lint (#3715) (#3716)

* ABTesting: add protos to private headers.

* RemoteConfig: #import <FirebaseABTesting/ExperimentPayload.pbobjc.h>

* ./scripts/style.sh

* Remote Config `pod spec lint` fixes (#3717) (#3718)

* Fix ExperimentPayload.pbobjc.h imports

* RemoteConfig tests: add missing headers to spec.

* Revert ExperimentPayload.pbobjc.h import for ABTesting sources.

* Add FDL to M55 (#3724)

* Remove references to UIWebView from DynamicLinks to comply with Apple "ITMS-90809: Deprecated API Usage" (#3723)
* Add FDL to M55

* Fix accessing a destroyed object (#3721) (#3725)

This was caused by running under Asan with XCode 11. Apparently, previous versions of XCode cannot catch it (which is why Travis is passing, apparently).

Also:
* enable "Detect use of stack after return" option for Asan. AFAIU, it can only be enabled in the scheme. It's already enabled for unit tests, this PR additionally enables it for integration tests;
* make Asan failures fail Travis build. They were originally not considered blocking due to some sporadic failures. I haven't seen those for some time, and worst case scenario, we can revert this change.

* Cherry pick GDT changes for 6.8.0 and increment versions (#3770)

* Release 6.8.0: cherry pick of #3764 and #3766 (#3772)

* Gate access to cached instances. (#3766)

* Gate access to cached instances.

This is causing an issue in #3728. Hopefully this will fix it, but no
repro is available yet to test. There's still an underlying race
condition where a `creationBlock` could be called twice for a component
that is supposed to cache the instance returned, but that should be
addressed in a follow up PR.

* Review feedback.

* Iterate from array copy in `latestExperimentStartTimestampBetweenTimestamp:` (#3764)

* Release 6.8.0 cherry pick: conflicting Dynamic Links changelog changes. (#3790)

* Update FDL CHANGELOG (#3781)

* Issue number, not PR number (#3785)
2019-09-06 15:19:25 -04:00
Paul Beusterien d2393c815b Merge 6.7.0 patch 2(GDT 1.1.3) back to master (#3693) 2019-08-26 14:20:41 -07:00
Paul Beusterien d70c873654 Release 6.7.0 (#3646) 2019-08-21 15:41:58 -07:00
Paul Beusterien b5f60b872a Merge 2nd GDT 6.6.0 patch (#3563) 2019-08-12 15:04:21 -07:00
Paul Beusterien 0358696d8e Release 6.6.0 - GDT Patch update (#3543) 2019-08-08 16:01:25 -07:00
Paul Beusterien 24a58ad86a Release 6.6.0 (#3518) 2019-08-07 11:03:41 -07:00