Commit Graph
84 Commits
Author SHA1 Message Date
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
Andrew Heard 1ed6d66b20 Make instanceForProtocol:inContainer: return nullable T (#12391) 2024-02-21 12:15:45 -05:00
Nick Cooke 25fcae9321 [AppCheck] Fix AppCheck interference for apps using ARCore and Firebase (#12191) 2023-12-12 23:15:46 -05: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
Morgan Chen 3805752456 Add better warning for misspelled files (#11317)
* Add better warning for misspelled files

* style

* add changelog

* Update FIRApp.m
2023-05-23 14:15:46 -07:00
Nick Cooke 2617e60dd6 [FirebaseCore] Add comment to notify future-us about potential side effects of code change (#11041) 2023-03-29 18:03:34 -04:00
Charlotte Liang fabe88f628 Remove unused methods in FIROptions (#10712) 2023-01-19 13:07:15 -08:00
Paul Beusterien 1fa2b4f31e Deprecate androidClientID and trackingID (#10520) 2022-12-15 09:52:24 -08:00
Paul Beusterien 7196035727 Firebase Options Documentation (#10510) 2022-11-22 15:35:18 -08:00
Sam Edson 07768839d9 [Sessions] Update Sessions User Agent for Optimization (#10335) 2022-10-10 15:50:05 -04:00
Sam Edson e04cb62ebb Initial commit of Firebase Sessions SDK (#10285) 2022-10-03 15:41:12 -04:00
Nick Cooke 71972ab0e8 [Firebase 10] Revamp FIRLogger for Swift use (#10286)
* [Firebase 10] Revamp FIRLogger for Swift use

* Fix test impl and only run firebasepod.yml

* re-enable actions

* Implement logger

* Global TAP

* Revert .pbxproj

* Call directly to GULs

* Review

* Undo API breaks

* [skip ci] Avoid NS_SWIFT_NAME due to macro collisions
This fixes the warning that broke the Auth x watchOS job.

* [skip ci] Revert Gemfile
2022-09-28 22:13:47 -04:00
8866b22f89 Firestore: Make @DocumentID value setter private (#10167)
* Firestore: Make @DocumentID value setter private

Updated the `DocumentID` Swift property wrapper's `value` property to be private(set) since it is ignored in the methods that write to Firestore.

* Make initializer private

* Fix formatting

* Fix tests

Made the setter internally accessible and imported FirebaseFirestoreSwift with @testable.

* Add a changelog entry and formatting fixes

* Documentation fixes

* [skip ci] Add runtime warnings to `@DocumentID` setter and initializer (#10275)

* [Firestore] Mark `@DocumentID` setter deprecated and add log statement in init

* Fix typo in import

* Update CHANGELOG

* Review and remove deprecation

* Review and add FIRLogWarningSwift

* Add FirebaseCorExtension to Firestore's Podfile

* [skip ci] Fix merged comment

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2022-09-28 01:42:30 -04: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
Paul Beusterien 67ed968e66 StorageAuthorizer to Swift (#10117) 2022-09-21 16:32:13 -07: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 2eb177effe [FirebaseCore] Mark duplicate internal API as unavailable in Swift (#9812)
* Mark API as unavailable

* Kick off storage and functions CI as well

* [skip ci] Revert .github/workflows/storage.yml

* [skip ci] Revert .github/workflows/functions.yml

* [skip ci] Revert .github/workflows/functions.yml (2)

* [skip ci] Revert .github/workflows/storage.yml (2)
2022-05-17 16:52:39 -04:00
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