Commit Graph
64 Commits
Author SHA1 Message Date
Nick Cooke a1e4be7919 [Core] Add logging level getter to FIRConfiguration (#13815) 2024-10-04 18:58:21 -04:00
Seyed Mojtaba Hosseini Zeidabadi 2a5637541c Fix FirebaseCore tests comments (#13777) 2024-10-03 10:06:44 -04:00
Paul Beusterien 8f44bbcbcf Fix FIROptions module organization (#13765) 2024-10-02 07:49:28 -07:00
Seyed Mojtaba Hosseini Zeidabadi ae42fc9ce4 Fix typo of the FirebaseCore test files and md files (#13334) 2024-07-22 08:45:46 -07:00
cherylEnkidu 3de44b7ab7 Move Timestamp class from Firestore to Firebase Core (#13221) 2024-07-12 16:19:35 -04:00
Andrew HeardandPaul Beusterien 31f6c5e2ca [Core] Use GULOSLogBasic for OSLog-based logging in FIRLogBasic (#13266)
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2024-07-11 15:23:26 -07:00
Paul Beusterien f5309bf45b [v11] Remove unused FIRDependency class (#13053) 2024-06-04 06:56:50 -07:00
Paul Beusterien 1696c5cddc Merge remote-tracking branch 'origin/ah/release-10.26-merge-ca' 2024-05-13 11:07:31 -07:00
Paul Beusterien a386df6fc3 Vertex AI preview versioning (#12691) 2024-05-13 12:14:00 -04:00
Nick Cooke 554255aa09 [Infra] Clean up visionOS conditionals (#12934) 2024-05-10 16:18:00 -04:00
Andrew Heard afca2896b9 [Core] Add FIRGetLoggerLevel function (#12065) 2023-11-07 15:57:49 -05:00
Andrew Heard 79692e9c60 [visionOS] Fix FirebaseCore build and tests on Xcode 15.1 beta 1 (#11927) 2023-10-11 18:25:25 -04:00
Nick Cooke d4beb349ad [Core] Fix API misnomer within FIRApp.m (#11648) 2023-08-04 15:24:17 -04:00
Andrew Heard e7400722fa [visionOS] Replace TARGET_OS_XR with TARGET_OS_VISION (#11603)
In Xcode 15 beta 5, TARGET_OS_XR was replaced with TARGET_OS_VISION in ObjC and os(xrOS) was replaced with os(visionOS) in Swift.
2023-07-25 20:52:07 -04:00
Nick Cooke 1e040186a6 [Infra] Remove HeartbeatLoggingTestUtils.podspec (#11370)
* [Infra] Remove HeartbeatLoggingTestUtils.podspec

* Review
2023-06-01 13:31:39 -04:00
Paul Beusterien cec5be5045 Clean up mix of OCMock V2 and V3 syntax (#11032) 2023-03-28 13:53:11 -04:00
Paul Beusterien 1fa2b4f31e Deprecate androidClientID and trackingID (#10520) 2022-12-15 09:52:24 -08:00
Nick Cooke f233d5b6a5 [Cleanup] Follow-up to #10259 (#10262)
* [Cleanup] Follow-up to 10259

* [skip ci] Resolve TODO

In an effort to resolve this TODO, I marked the protocol as @optional to clean
up some of the duplicate test code. While it cleaned up the test code, it did
clutter up the actual usage of the API so I decided against doing so.
2022-09-26 19:04:16 -04:00
Nick Cooke 43c62f0526 [Infra] Remove CoreDiagnostics library and references (#10259)
* [Infra] Remove CoreDiagnostics library and references

* Style localize_podfile.swift

* Add GDT to SharedTestUtils

* Update GoogleUtilities.cmake config

* Run all CI

* Update GoogleUtilities.cmake config (2)

* Resolve FIRApp.m TODO

* [skip ci] Revert Gemfile
2022-09-26 00:03:55 -04:00
af1201c8a3 [Firebase 10] Bump versions for 10.0.0 (#10244)
* [Firebase 10] Bump 9.X versions to 10.0.0

* Bump min. GTMSessionFetcher dep version to 2.1

* Bump min. GDT dep version to 9.2

* Bump min. GULs dep version to 7.8

* Fix unintentional nanopb replace

* Fix unintentional nanopb replace (2)

* Fix unintentional nanopb replace (3)

* Fix unintentional nanopb replace (4)

* Fix unintentional nanopb replace (4)

* Trigger all CI

* Bump FirebaseCombineSwift to 10

* Fix FirebaseStorage.podspec
I'm not sure what happened here. I had committed it during the rebase but guess not?

* Fix unintentional nanopb replace (5)

* Disable two tests to unblock staging

* Fix and re-enable FIROptions tests

* Update deployment targets in Firebase.podspec

* Add CHANGELOG entry for GTMSessionFetcher

* Fix AppCheck iOS availability

* Fix inadvertent API change (#10245)

* Docs update for Extensions and putFile (#10248)

* App google domain support (#10249)

Adding new 1p domain "app.google" support in FDL SDK.

* Remote Config Dynamic Property Wrapper (#10155)

* Separate GoogleUtilities Carthage build (#10250)

* Public count (#10246)

* Public Count

* Swift Test Commit

* Swift Format

* No extra whitespace

* Hopefully formatted.

* Change log and feedback.

* Revert "Public count (#10246)" (#10252)

This reverts commit 8aae6bee27.

* Make Firestore use FirebaseDataEncoder and FirebaseDataDecoder (re-implementation of #8858) (#9465)

* Bump tvOS minimum support version to 12.0

* [skip ci] Revert Gemfile

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: Eldhose M Babu <eldhosembabu@google.com>
Co-authored-by: Charlotte Liang <chliang@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk>
2022-09-24 07:06:20 -04:00
Nick Cooke 398a87169d [Core] Support watchOS lifecycle notifications (#10112)
* [Core] Support watchOS lifecycle notifications

* Rework for so version is checked in runtime
2022-08-30 13:25:22 -04:00
Nick Cooke cc44ad52a5 [Core] Exclude lifecycle-dependent tests from watchOS (#10085) 2022-08-08 20:08:25 -04:00
Nick Cooke 134b269394 [Infra] Move Firebase user agent tests to sepearate file (#10070)
* [Infra] Move Firebase user agent tests to sepearate file

* Add the LLC
2022-08-04 15:40:02 -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
Nick Cooke 3d4b0f429e [Heartbeat Logging] Migrate AppCheck from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9530)
* Integrate AppCheck with FIRHeartbeatLogger

* Fix comment typo

* Fix CI

* [will revert] debug why HeartbeatLoggingTestUtils.podspec is linted?

* Revert "[will revert] debug why HeartbeatLoggingTestUtils.podspec is linted?"

This reverts commit 25a79874d8.

* Change visibility of shim class

* Fix CI

* [skip ci] Review
2022-03-30 16:18:41 -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
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
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Paul Beusterien 8187c18e60 Remove Swift flag from user agent (#8215) 2021-06-08 09:23:37 -07:00
Paul Beusterien fd36167c8c Migrate back to unforked OCMock for SPM (#8042) 2021-05-11 11:39:55 -07: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
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 3f95f59478 FIRApp tests fixes (#7157)
* Core pospec: keep deployment targets in sync

* FIRAppTest: tear down race condition workaround

* style
2020-12-14 12:12:47 -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
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 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
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 3ca4e99c0e Stop requiring pods to be static frameworks (#6557) 2020-09-28 14:08:16 -07:00
Paul Beusterien 0a87c3142e Remove unnecessary Core private headers (#6439) 2020-09-17 15:31:33 -07:00