Commit Graph
30 Commits
Author SHA1 Message Date
Seyed Mojtaba Hosseini Zeidabadi 6b74ae7ec1 Fix typo of the FirebaseCore internals (#13324) 2024-07-20 15:32:09 -07:00
Paul Beusterien 79866caa23 Fix typos (#13312) 2024-07-18 15:05:15 -07:00
themiswang 0afe0cd98e remove os check for major update (#13197) 2024-06-27 15:27:07 -04:00
Sheikh Bayazid e8a12e04c2 Improve/use shorthand syntax for unwrapping optionals and fix typos (#12369) 2024-05-03 08:50:20 -07:00
Paul BeusterienandNick Cooke 1cde471f52 [CI] Stop Xcode 14, start Xcode 15.3 (#12746)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-04-12 09:55:29 -07:00
Nick Cooke 03ce722d0e [FirebaseCoreInternal] Switch to implementation-only import of GULs (#12714) 2024-04-05 16:15:31 -04:00
Paul Beusterien 1af0bf0728 Update to SwiftFormat 0.53.5 (#12665) 2024-04-01 10:42:23 -08:00
Paul BeusterienandNick Cooke 3539c2b691 Privacy Manifests for named Firebase SDKs (#12407)
Co-authored-by: Nick Cooke <nickcooke@google.com>
2024-02-23 15:08:29 -08:00
Paul Beusterien 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
Nick Cooke 4084532975 [CoreInternal] Add regression test for fix in #11611 (#11613) 2023-07-26 12:38:47 -04:00
Benedek Kozma 2cdbbb7e18 Fix HeartbeatsPayload using incorrect year format (#11611) 2023-07-26 10:39:05 -04:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
Andrew Heard 3ed321fbfc [App Check] Fix JSON key ordering in HeartbeatsPayload (#11482)
Key ordering from `JSONEncoder` is not guaranteed, resulting in test failures when output is compared directly.

Added the `sortedKeys` output formatting option in debug builds to fix non-deterministic test results while avoiding unnecessary sorting costs in release builds.
2023-06-27 11:43:14 -04:00
Nick Cooke 1e040186a6 [Infra] Remove HeartbeatLoggingTestUtils.podspec (#11370)
* [Infra] Remove HeartbeatLoggingTestUtils.podspec

* Review
2023-06-01 13:31:39 -04:00
Nick Cooke ffc697be0e [Functions] Fix typo in HTTPSCallableOptions initializer (#11318) 2023-05-23 07:43:08 -07:00
Nick Cooke 1f3befad87 [FirebaseCore] Use optional instead of error (#10906)
* [FirebaseCore] Use optional instead of error

* Revert debugging change

* Fix typo
2023-03-07 13:43:42 -05:00
Nick Cooke f2e44defd3 [CoreInternal] Add explicit generics typing for Array.Index usage (2) (#10176) 2022-09-06 17:06:25 -07:00
Nick Cooke 7ea72745e8 [CoreInternal] Add explicit generics typing for Array.Index usage (#10075) 2022-08-05 13:25:38 -07:00
Nick Cooke aaeb5f43fc [FirebaseCoreInternal] Guard against invalid indexing into RingBuffer type (#10032)
* [FirebaseCoreInternal] Refactor RingBuffer indexing code

* Add unit tests for pop API

* Some more refactoring

* Add bandaid for improper bounds

* Review

* Review 2

* Prevent duplicate dailies

* CHANGELOG

* Use guard statement instead

* Collect more info
2022-07-22 14:29:11 -04:00
Nick Cooke 502780e497 [FirebaseCoreInternal] Sanitize app ID used in file system resource (#9683)
* Sanitize file name and resolve TODOs

* Add integration test
2022-04-21 17:28:28 -04: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
Paul Beusterien 6f8dfde3b7 [HeartbeatLogging] Add to FirebaseCoreInternal umbrella and don't use
path for public header
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 6361347a22 Podspecs for CoreInternal and AppCheckInterop (#9300) 2022-03-23 06:08:03 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00