Commit Graph
92 Commits
Author SHA1 Message Date
Paul Beusterien 79866caa23 Fix typos (#13312) 2024-07-18 15:05:15 -07:00
Paul Beusterien 0ab171c52b [v11] Update to SwiftFormat 0.54.0 (#13222) 2024-07-03 07:01:29 -07:00
Nick Cooke 62c2dacb69 [v11] Update FIS for GULs v8 (#13104) 2024-06-12 16:20:24 -04:00
Paul Beusterien f5309bf45b [v11] Remove unused FIRDependency class (#13053) 2024-06-04 06:56:50 -07:00
Paul Beusterien 1a0d39a329 Merge remote-tracking branch 'origin/main' into auth-swift 2024-05-08 13:59:34 -07:00
Sheikh Bayazid e8a12e04c2 Improve/use shorthand syntax for unwrapping optionals and fix typos (#12369) 2024-05-03 08:50:20 -07:00
Paul Beusterien 0b90011293 Merge remote-tracking branch 'origin/main' into auth-swift 2024-03-18 11:42:30 -07: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 f5cb55371b Merge remote-tracking branch 'origin/main' into auth-swift 2024-01-20 09:56:12 -08:00
Andrew Heard 7db032cbfb Update async/await availability comments to "iOS 13+" (#12261) 2024-01-10 14:38:36 -05:00
Paul Beusterien 20847a1577 [auth-swift] Fix heartbeats for SPM (#12237) 2024-01-04 08:11:58 -08:00
Paul Beusterien 0fe8385fe6 Remove unnecessary compiler checks for Concurrency support (#12232) 2024-01-03 07:04:02 -08:00
Nick Cooke 1e040186a6 [Infra] Remove HeartbeatLoggingTestUtils.podspec (#11370)
* [Infra] Remove HeartbeatLoggingTestUtils.podspec

* Review
2023-06-01 13:31:39 -04:00
Nick Cooke 867697b8f3 [Infra] Upgrade to clang-format16 (#10973) 2023-03-20 12:47:43 -04:00
Nick Cooke 0142276ec3 [Infra] Ignore deprecations in test utility (#10729)
* [Infra] Ignore deprecations in test utility

* Style
2023-01-24 09:30:01 -05: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
Morgan Chen 9f2a3132fa Use Swift syntax in reference documentation (#9594)
* fix returns typo

* change some headers

* style

* the rest of the header comments

* revert changes to FIRStorageReference
2022-04-08 14:50:22 -07:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Paul Beusterien 99275370a2 Merge remote-tracking branch 'origin/master' into v9b 2022-04-06 09:56:33 -07:00
Ryan Wilson 2258c07ecb Swift Error Improvements (#9512)
* Firebase Messaging enum

* Add tests for App Check errors

* App Distribution Error

* Installations error improvements

* Remote Config errors

* Firestore error handling

* Formatting

* Silly import error

* Consistency for App Check tests.

* Typo fix
2022-04-04 10:36:38 -04:00
Nick Cooke 6b6498ce2a [Heartbeat Logging] Migrate Installations from using FIRHeartbeatInfo to FIRHeartbeatLogger (#9543)
* Integrate FIS with FIRHeartbeatLogger

* Add env var to fis workflow

* Fix env var to fis workflow

* Add integration tests for heartbeat integration

* [skip ci] Review

* [skip ci] Review
2022-04-01 10:01:02 -04:00
Ryan Wilson 73279db127 Enable async/await APIs for iOS 13, etc. (#9540)
* Enable async/await APIs for iOS 13, etc.

This bumps the required compiler version to 5.5.2 which was included in
Xcode 13.2, where backporting was first introduced.

This breaks less developers and enables developers who aren't using
these APIs to still compile using Xcode 13.0 and 13.1.

As far as I can tell, the only breakage this includes now is developers
who are using Xcode 13.0 or 13.1, targeting iOS 15 and using one of
these 7 APIs. It will result in a compiler error and they'll have to
either use the completion handler version or upgrade to Xcode 13.2+ to
fix the compilation error.

* Missed checks, CHANGELOG

* Fixed avialability, added watchOS for RTDB

* Moved to watchOS 7 for all async/await APIs to match platform support
2022-04-01 09:56:33 -04:00
Morgan Chen 7a273e7bae fix returns typo (#9541) 2022-03-31 11:37:45 -07:00
Nick Cooke 1a5399a230 [Infra] Bump clang-format to v14 (#9527) (#9531)
* Bump clang-format

* Review
2022-03-28 18:53:08 -04:00
Nick Cooke 0336856b9f [Infra] Bump clang-format to v14 (#9527)
* Bump clang-format

* Review
2022-03-28 13:14:45 -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
Paul Beusterien 13c19a5e8c Swiftify symbol name for Swift (#9481) 2022-03-23 06:08:14 -07:00
Nick Cooke ef636bd28f [v9] Remove GHA workflows that test with --use-libraries (#9463)
* Remove `--use-libraries` workflows

* [Will Revert] Run only the cron workflows

* Add ENABLE_TESTING_SEARCH_PATHS flag

* Add blank swift file to statically link Swift lib

* Link in swift for ABTesting, Crashlytics, and FIS test specs

* [skip ci] Revert "Link in swift for ABTesting, Crashlytics, and FIS test specs"

This reverts commit 95e4a492a8.

* [skip ci] Revert "Add blank swift file to statically link Swift lib"

This reverts commit 43555ecf88.

* [skip ci] Revert "Add ENABLE_TESTING_SEARCH_PATHS flag"

This reverts commit e551fbee1a.

* Bump macOS test version in ABTesting, CSH, and FIS specs

* Ignore warings in FIS tests

* Ignore messaging warnings in cron jobs

* [skip ci] Revert "[Will Revert] Run only the cron workflows"

This reverts commit b39eaee5bd.

* [skip ci] Revert "Ignore messaging warnings in cron jobs"

This reverts commit 8a3faabe99.

* Add `@unknown default` case for FCM's Swift enum build tests

* [skip ci] Fix typo
2022-03-23 06:08:14 -07:00
Yakov Manshin 856852884d [#9275] Added Swift Name to kFirebaseInstallationsErrorDomain (#9395) 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
Nick Cooke d6e7bb7d38 Update async-related directives in Swift build tests (#9063)
* Update directives in Swift build tests

* Fix CoreAPITests

* Fix CoreAPITests 2

* Fix installations and style
2021-12-09 14:30:43 -05:00
Nick Cooke 1997f76edc Installations API build tests (#8353)
* Installations API build tests

* Fix class name
2021-07-08 12:31:48 -04: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 5abd0c8afa Update FIS IID error message (#8279) 2021-06-21 10:06:38 -07:00
Chen Liang 429bac463c Remove InstanceID from Github repo (#7970) 2021-04-27 11:54:03 -07:00
Paul Beusterien c4e994c7c4 Update to clang-format 12 (#7909) 2021-04-16 09:17:41 -07:00
Maksym Malyhin 57285802ad FIS API docs: use term "installation auth token" consistently. (#6014)
* FIS API docs: use term "Installation auth token" consistently.

* Changelog

* Capitalize

* Use lowercase

* SHA1 usage explanation

* missed upper case

* a -> an
2020-10-13 16:59:05 -04:00
Ryan WilsonandPaul Beusterien fb4612f54a Remove the FIR prefix from notification constants. (#6645)
* Remove the `FIR` prefix from notification constants.

* Enable Firebase 7 path in quickstart test

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-10-09 17:52:09 -07:00
Paul Beusterien 672256e11e C API for Firebase Version (#6690) 2020-10-07 15:03:20 -07:00
Maksym Malyhin a3a59c1bfc FIS: require projectID and valid API Key format (#6678)
* FIRInstallations validation: remove GCMSenderID fallback for missing projectID

* FIRInstallationsIDController: remove GCMSenderID fallback for  missing projectID

* Add API Key validation

* Changelog

* changelog

* Constant for API key lenght

* array] -> alloc] init]

* typo

* message

* ./scripts/style.sh

* Fix dummy API key in integration tests

* Update dummy API Keys to match the expected format

* debug test quickstart with no xcpretty

* fix debug

* Use debug QS repo branch

* print debug

* Add missing allowed characters `-`, `_`

* Nicer dummy API Keys

* Comment

* Revert "Use debug QS repo branch"

This reverts commit 69739dd6ae.

* Revert "fix debug"

This reverts commit 84fcbc7543.

* Revert "debug test quickstart with no xcpretty"

This reverts commit 1fa21ed62a.
2020-10-07 17:25:03 -04:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Maksym Malyhin dfffd85572 FIS: disable IID migration tests by default (#6619)
* FIS: disable IID migration tests by default

* remove redundant env variable

* Fix merge errors
2020-10-01 16:08:39 -04:00
Maksym Malyhin f84d094f06 FIS: don't log anything on success validation (#6635) (#6636) 2020-10-01 15:07:21 -04:00
Paul Beusterien d9e53a7dd1 FIS IID tests shouldn't use repo-relative imports 2020-09-30 15:22:00 -07:00
Paul Beusterien 5d0a1c8ccb Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
Maksym Malyhin d26b543572 FIS: Additional FIRInstallationsItem validation (#6570)
* FIS API tests for no FID in response

* FIRInstallationsIDControllerTests: test names

* FIRInstallationsIDControllerTests: corrupted storage tests

* FIRInstallationsItem validation

* Fix FIRInstallationsItem.IIDDefaultToken copy

* Improve error description.

* FIRInstallationsItem validation error

* FIRInstallationsItem validation tests

* ./scripts/style.sh

* FIRInstallationsIDController: validate stored installation

* FIRInstallationsAPIService installation validation

* Changelog
2020-09-30 14:02:03 -04:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -07:00
Paul Beusterien 89dd31a7ae IID: repo-relative headers (#6539) 2020-09-23 11:00:54 -07:00
Maksym Malyhin 7895478eba FirebaseInstallations: API requests backoff (#6232)
* FirebaseInstallations: API requests backoff (#6207)

* FIRInstallationsBackoffController introduced

* FIRCurrentDateProvider introduced

* FIRInstallationsBackoffControllerTests

* style

* FIRInstallationsBackoffController implementation

* WIP: tests

* Response to backoff event mapping

* FIRInstallationsIDController: integration with FIRInstallationsBackoffController

* Remove not existing error code.

* FIRInstallationsIDController: integration with FIRInstallationsBackoffController

* FIRInstallationsIDController: depend on FIRInstallationsBackoffControllerProtocol

* FIRInstallationsIDControllerTests: supplement tests with backoff validation

* TODOs

* TODO

* API docs

* Header import fixed

* FIS backoff adjustments and tests (#6230)

* Maximum backoff interval 30 min

* Errors adjusted

* Tests updated

* Exclude 401 and 404 from backoff as autorecoverable

* comments

* FIS 1.6.0 changelog (#6234)

* Change log version fixed
2020-08-10 09:36:04 -04:00