146 Commits
Author SHA1 Message Date
Andrew Heard b7c71458b7 chore: update podspec version to 12.1.0 (#138)
Signed-off-by: Andrew Heard <andrewheard@google.com>
CocoaPods-12.1.0
2026-11-06 14:42:17 -05:00
Nick CookeandAndrew Heard 4639d4e97e fix(backoff): allow retry when device clock moves backward (#137)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
2026-11-06 13:38:26 -05:00
Nick Cooke 37f72580ef docs: remove cocoapods publishing instructions (#128)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-11-06 13:22:37 -05:00
Andrew Heard ebd7f0547a feat(debug): add debugToken: initializer and debugTokenSource (#134)
Add initWithServiceName:resourceName:baseURL:APIKey:requestHooks:
debugToken: (Swift: init(serviceName:resourceName:baseURL:apiKey:
requestHooks:debugToken:)) to GACAppCheckDebugProvider so callers can
supply a debug token resolved outside the SDK, such as one the Firebase
CLI saved to ~/.config/configstore/firebase-appcheck.json. The existing
initializer delegates to it with a nil token.

Tokens resolve in this order: the AppCheckDebugToken or
FIRAAppCheckDebugToken environment variable, the provided token, the
stored local token, then a newly generated one. The provided token is
trimmed, and an empty result falls back to the local token. When it is
used, no local token is generated, stored, or logged; a debug-level
message (I-GAC004005) is logged instead, and its exchanges don't change
the local token's registered state.

Also add debugTokenSource and AppCheckCoreDebugTokenSource
(GACAppCheckDebugTokenSource: local, environmentVariable, provided),
which report where the current token came from. The enum is Sendable
and marked @nonexhaustive when the compiler supports it, so new sources
can be added without breaking Swift clients.
2026-11-06 12:23:01 -05:00
Andrew Heard 958f0212cf fix(debug): only track registration state for local debug token (#135)
The debug provider stores a per-service "registered" flag so it stops
logging the local debug token's registration instructions once that
token has been exchanged successfully. Exchanges using the
AppCheckDebugToken or FIRAAppCheckDebugToken environment variable also
updated the flag, even though the local token wasn't used:

- On success, the local token was marked as registered, so after the
  variable was removed the SDK fell back to an unregistered token
  without logging how to register it.
- On failure, the flag was cleared, so an already registered local
  token logged its registration instructions again.

Only set or clear the flag when the local token was the one exchanged;
serverUnreachable failures still leave it untouched. There are no
public API changes.

Also document all parameters of the public initializer, and fix the
test tearDown, which only removed the registered key's prefix and let
the flag leak between tests.
2026-11-05 16:47:46 -05:00
Daniel Morfa Vega 49687692b6 fix: refresh cached token when it was received in the future (#132) 2026-11-05 15:46:21 -05:00
c7eb17e554 Rewrite AppCheckCore in Swift (#111)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
12.0.0 CocoaPods-12.0.0
2026-09-23 18:22:08 -04:00
Nick Cooke 97f7d74dd0 chore: bump podspec and changelog (#115) CocoaPods-11.3.2 11.3.2 2026-09-11 11:54:20 -04:00
Paul Beusterien 1a2da7fca1 fix: capture request date before network request to prevent clock skew/suspension bugs (#113) 2026-09-11 08:17:58 -07:00
Nick Cooke 8ceec5f0b6 refactor: migrate GACAppAttestProviderTests off OCMock (Milestone 2) (#109)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-07-27 21:38:27 -04:00
Nick Cooke 3c6d658bbb refactor: migrate GACAppCheckTests off OCMock (Milestone 1) (#107) 2026-07-17 13:35:53 -04:00
Nick Cooke 170b466a06 build(deps): update activesupport to 7.2.3.1 (#108) 2026-07-13 15:01:08 -05:00
Nick Cooke 4d838189cc fix(ci): add read permissions to github action workflows (#106) 2026-07-09 16:16:18 -07:00
Nick Cooke 3e33dd27dd chore: bump changelog and spec for 11.3.1 (#105) CocoaPods-11.3.1 11.3.1 2026-07-07 20:43:58 -04:00
Paul BeusterienandNick Cooke 7ef9d41b33 fix: Reset and retry attestation on DCErrorUnknownSystemFailure during assertion phase (#96)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-07-07 18:07:30 -04:00
dependabot[bot] c51079757a Bump faraday from 1.10.5 to 1.10.6 in the bundler group across 1 directory (#103)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-30 07:57:18 -07:00
dependabot[bot] 00543a1b05 Bump concurrent-ruby from 1.3.3 to 1.3.7 in the bundler group across 1 directory (#102)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-23 13:18:37 -07:00
Nick Cooke a574648453 fix: eliminate thread starvation flake in legacy provider tests (#100) 2026-06-20 12:20:53 -04:00
Nick Cooke 485c936525 test(recaptcha): add coverage for invalid URL configuration (#99) 2026-06-19 11:50:28 -04:00
Nick Cooke fd4a710637 fix(url): point to firebase docs over gcp docs (#98) 2026-06-16 20:08:13 -04:00
Andrew HeardandNick Cooke bb4002485f feat: Only log local debug tokens when not yet registered (#95)
Co-authored-by: Nick Cooke <nickcooke@google.com>
11.3.0 CocoaPods-11.3.0
2026-06-10 11:30:20 -04:00
f6b4582ed1 feat: Add Recaptcha attestation provider (#94)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Hitesh Maurya <hiteshmaurya@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2026-06-09 16:44:19 -04:00
dependabot[bot] f50adb523d Bump addressable from 2.8.6 to 2.9.0 in the bundler group across 1 directory (#91)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-19 14:39:25 -07:00
Paul Beusterien 42da9fa3e7 Style script modernizations (#93) 2026-04-19 08:49:27 -04:00
dependabot[bot] ab2b044ae9 Bump faraday from 1.10.3 to 1.10.5 in the bundler group across 1 directory (#90)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-12 07:38:40 -08:00
Paul Beusterien a95aaf9fd4 Update Xcode versions to fix CI (#87) 2025-12-04 07:45:05 -08:00
dependabot[bot] d13fefa10c Bump rexml from 3.3.9 to 3.4.2 in the bundler group across 1 directory (#86)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-04 07:08:47 -08:00
Andrew Heardandgoogle-labs-jules[bot] 3d50c0ed6d [AppCheckCore] Fix import in GACAppCheckAPIService.h (#83)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-07-24 16:57:51 -04:00
Andrew Heard ffb9a163c3 [Infra] Upgrade to clang-format@20 (#84) 2025-07-24 16:00:44 -04:00
Andrew Heard f0e310ec5a [CI] Update macOS / Xcode versions for pod_lib_lint (#81) 2024-11-15 13:23:17 -05:00
dependabot[bot] 6c984d2748 Bump rexml from 3.3.6 to 3.3.9 in the bundler group (#80)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 14:30:52 -07:00
Nick Cooke 61b85103a1 [Release] Update AppCheckCore.podspec (#79)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
CocoaPods-11.2.0 11.2.0
2024-10-18 10:07:21 -04:00
Nick Cooke 4b265b9557 [AppCheckCore] Skip local cache when making network requests (#78) 2024-10-17 19:26:14 -04:00
Nick Cooke 87dd288fc7 [Release] Update AppCheckCore.podspec (#77)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
CocoaPods-11.1.0 11.1.0
2024-10-04 12:12:53 -07:00
Nick Cooke cf707f9306 [AppCheck] Reset to attestation flow if assertion flow fails (#76) 2024-10-04 15:07:32 -04:00
Andrew Heard 68564e23f2 [Infra] Upgrade to clang-format@19 (#75) 2024-09-17 14:04:49 -04:00
Andrew Heard 272b8b13da Update OCMock dependency to v3.9.4 (#74) 2024-08-23 09:00:34 -07:00
Paul Beusterien 653f0f2a76 Update Mintfile for SwiftFormat update (#73) 2024-08-23 10:24:30 -04:00
dependabot[bot] deea8a6ff6 Bump rexml from 3.2.8 to 3.3.6 in the bundler group (#72)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 15:11:52 -07:00
Nick Cooke 21fe1af9be [SPM] Lower Catalyst min. support version (#71)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
11.0.1
2024-07-17 18:03:17 -04:00
Nick Cooke 25a39387bf [Docs] Add spec publishing instructions (#70)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-07-12 13:13:42 -07:00
Nick Cooke 99ba3f44fd [Docs] Add spec staging instructions (#69)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-07-12 13:34:45 -04:00
Nick Cooke bcba97b07e [Docs] Update changelog for v11 (#68) 2024-07-12 11:03:48 -04:00
Nick Cooke 69291442d6 [SPM] Update GoogleUtils version dependency (#67) CocoaPods-11.0.0 11.0.0 2024-07-12 10:35:19 -04:00
Andrew Heard 30d4f99c93 Depend on main branch of GoogleUtilities (#66) 2024-07-10 15:19:20 -04:00
Andrew Heard 9677a2a147 Merge branch 'main' into ah/release-11.0-merge
# Conflicts:
#	AppCheckCore.podspec
#	Gemfile.lock
2024-07-08 16:51:57 -04:00
Paul Beusterien 33bb9af2b1 [v11] Merge main (#64) 2024-06-17 16:52:41 -04:00
Paul Beusterien 3b62f154d0 10.19.2 podspec and Changelog (#63) CocoaPods-10.19.2 10.19.2 2024-06-17 08:07:17 -07:00
Paul Beusterien da48ccae21 Don't use [self class] in an initializer (#62) 2024-06-17 07:31:30 -07:00
Nick Cooke 34e4ef0800 [v11] Migrate to GoogleUtilities v8 (#61)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-06-12 15:22:18 -04:00