Commit Graph
64 Commits
Author SHA1 Message Date
Nick Cooke 0fe05a8cda [skip ci] Correct Swift API in FIROptions.h doc (#9733) 2022-05-01 11:33:20 -04:00
Nick Cooke 15578eec94 Remove heartbeat trigger on configure (#9625) 2022-04-11 11:11:24 -04:00
Nick Cooke 40a2a35c1a [Heartbeat Logging] Add logging within FirebaseCore (#9586)
* Rework approach

* Fix CI
2022-04-07 10:51:47 -04:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Paul Beusterien 6b1f0666d6 Style after rebase conflict resolution 2022-04-04 13:30:34 -07:00
Paul Beusterien 1ed4d69b4e Make all Storage APIs available via Swift (#9443) 2022-04-04 13:28:14 -07:00
Peter Friese c5bdde98f0 Register Combine modules with Swift component system (#9562) 2022-04-04 16:38:36 +02:00
Nick Cooke 6472d7c8e0 [Heartbeat Logging] Migrate Firestore from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9555)
* Integrate Firestore with FIRHeartbeatLogger

* [skip ci] Review

* [skip ci] Review
2022-04-01 16:00:28 -04:00
Nick Cooke fd1c0f6a3c [v9, Infra] Fix FirebaseCore CMake build error for Firestore CI (#9537)
* Fix FirebaseCore CMake build

* Clarify comment

* Run Firestore CI on **CMakeLists.txt changes

* Review

* No need to ifdef out in FIRApp.m
2022-03-30 16:51:23 -04:00
Nick Cooke a9278f108b [Heartbeat Logging] Add heartbeat logger to FIRApp and manage FIRHeartbeatLogger instances (#9506)
* Add FIRHeartbeat property to FIRApp

* Remove comment and kick off CI?
2022-03-28 11:36:02 -04:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Ryan Wilson e002709d2c Mark ObjC typedefs as unavailable in Swift. (#9387)
* Mark ObjC typedefs as unavailable in Swift.

This is part of the larger Swift API improvements effort. These reduce
visibility in autocomplete, and we've mostly migrated away from them
already. This hides the unused type from the API surface to avoid
cluttering the list of types avialable.

* Revert FDL Test

* Fix CombineSwift tests

* Fixed Firestore tests

* Revert unneeded changes for FDL internal headers.
2022-03-23 06:08:14 -07:00
Yakov Manshin 220a20fbf2 [#9291] Removed FIRAppAssociationRegistration (#9388) 2022-03-23 06:08:14 -07:00
Nick Cooke 913629de76 [Heartbeat Logging] Adjust imports after rebase onto v9 branch 2022-03-23 06:08:14 -07:00
Nick Cooke af89df6e04 [Heartbeat Logging] Refinements to how HeartbeatsPayloads are converted into header strings (#9419)
* Return an empty payload rather than an empty string

* Fix unfinished comment

* Review
2022-03-23 06:08:14 -07:00
Nick Cooke dd56dfbc62 [Heartbeat Logging] Add ObjC interop API and Firebase Core integration (#9117)
* Add FIRHeartbeatLogger and unit tests

* Add XCTest module

* Fix warnings

* Exclude files from module import rule

* Add swift_version to FirebaseStorage.podspec

* Update FirebaseStorage.podspec

* Update FirebaseCore.podspec

* Debug storage GHA

* Create separate testing utils target

* Revert "Debug storage GHA"

This reverts commit 962567e180.

* WIP Reorganizing for cocoapods

* Copy some spec config from OCMock

* Fix build issue

* Fix tests

* Add env var to only use testing spec for pod lib lint

* Add new heartbeat-unit test spec

* Bump Core dependency to 8.11

* Test

* Revert "Test"

This reverts commit 23cddd0b17.

* Refactor podspec

* Revert "Refactor podspec"

This reverts commit 71d87fb5d0.

* Testing to see if file is tested

* Revert "Testing to see if file is tested"

This reverts commit 618903a1ed.

* Revert "Revert "Refactor podspec""

This reverts commit ac42b40b06.

* catalyst testing needs env var too

* Remove outdated comment

* Review

* Style

* Review 2

* Fix tvOS CI
2022-03-23 06:08:14 -07:00
Ryan Wilson 190af8a873 Working component system. (#9310)
* Working component system.

* Removed outdated code, temp enabled tests.

* Revert GHA change
2022-03-23 06:08:13 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Ryan Wilson 9151fa6bb5 Update Core's docs to be Swift first. (#9458) 2022-03-15 17:49:36 -04:00
elenadoty 3c60fbd0d0 update docs to reference swift > objc (#9279) 2022-02-02 14:24:27 -05:00
Paul Beusterien 4377c7c574 FirebaseOptions docs: Swift and Analytics exception (#9207) 2022-01-13 15:07:19 -08:00
Narlei Moreira 5822a5a495 [Security] Change APIKey documentation (#9088) 2022-01-06 09:37:07 -08:00
Paul Beusterien 6aa2492365 Remove FIRApp warning for macOS and tvOS (#8841) 2021-10-21 07:49:08 -07:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Nick Cooke 89f237ae78 Swift first exception messages (#8295)
* Swift first exception messages

* Review

* Minor edit

* Minor edit 2
2021-06-25 11:25:23 -04:00
Paul Beusterien 8187c18e60 Remove Swift flag from user agent (#8215) 2021-06-08 09:23:37 -07:00
Paul Beusterien dfe6eb966c Simplify version processing (#8028) 2021-05-05 11:48:46 -07:00
Nick Cooke 9ce477fc33 FirebaseMessaging: Mock FIRHeartbeatInfo in test (#7995) 2021-04-28 18:58:48 -04:00
Ryan WilsonandNick Cooke 84a2a2cb4e Migrate to UserDefaults based heartbeat on tvOS (#7893)
* Migrate to UserDefaults based heartbeat on tvOS

This should mitigate heartbeat files being wiped due to tvOS cache being
invalidated.

* Move defaults suite name to widely available constant.

* Point to GULs 7.4.0+ in Package.swift

Co-authored-by: Nick Cooke <nickcooke@google.com>
2021-04-27 15:19:11 -04:00
Paul Beusterien b935971f52 Continue FIRLoggerService client migration (#7908) 2021-04-16 10:43:39 -07:00
Ryan Wilson 36303b4712 Remove unnecessary platform check. (#7564)
This isn't actually needed since the class won't be available on platforms it doesn't support.
2021-02-19 11:37:18 -05:00
Morgan Chen c25f724f2b Miscellaneous doc fixes (#7506)
* misc doc fixes

* add pr number to changelog
2021-02-11 14:37:45 -08:00
Paul Beusterien f5b5c6f709 Fix new build warnings in Core with Xcode 12.5 (#7431) 2021-02-02 18:25:27 -08:00
Maksym MalyhinandPaul Beusterien 497d08b71d Core: fix and cleanup notification center tests (#7244)
* Fix log diagnostics tests and remove unused notification

* Replace deprecated OCMock methods with notification expectations

* Bump Core and CoreDiagnostics versions

* Defer Core version update until release

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2021-01-05 12:22:06 -05:00
Maksym Malyhin d098e5a8b0 FIRApp optimize config time (#6919)
* FIRApp optimize config time

* Changelog

* Changelog update

* update version
2020-11-09 09:11:44 -05:00
Paul Beusterien 00be38c556 Don't allow logger version deallocation (#6719) 2020-10-13 06:54:56 -07:00
Maksym Malyhin f198987a1a 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
Paul Beusterien 672256e11e C API for Firebase Version (#6690) 2020-10-07 15:03:20 -07:00
Paul Beusterien 92537a1198 Simplify FirebaseCore imports (#6664) 2020-10-05 14:34:33 -07:00
Paul Beusterien cdb48651ce Fix breakage from #6651 (#6660) 2020-10-05 10:43:30 -07:00
Paul Beusterien d76e37174d Public Version API (#6651) 2020-10-05 09:38:35 -07:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Ryan Wilson 41fe278f90 Remove the FirebaseOptions() bare initializer. (#6633)
* Remove the `FirebaseOptions()` bare initializer.

This was unintentionally surfaced from the ObjC header and should be
removed.

Note: although the existing initializer doesn't work, this is still a
breaking change.

* Style

* Changelog update.
2020-10-01 15:43:27 -04:00
Paul Beusterien aea0e862f1 Migrate FIRLoggerServices strings from Core to clients (#6608) 2020-09-30 07:37:31 -07:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Paul Beusterien 0a87c3142e Remove unnecessary Core private headers (#6439) 2020-09-17 15:31:33 -07:00
Paul Beusterien 83e44ddaa8 Remove deprecated sendLogsWithServiceName (#6437) 2020-09-11 07:18:07 -07:00
Paul Beusterien 28ff0c7f58 Move Core Publics so imports match between SPM and CocoaPods (#6096) 2020-07-23 05:47:01 -07:00
Maksym Malyhin 996d34078a Make [FIROptions defaultOptions] thread safe (#5915)
* Protect  [FIROptions defaultOptions] with dispatch once.

* Changelog
2020-06-25 17:47:58 -04:00