feat(firebase): tvOS support for firebase_app_check - #18
Open
TheNoumanDev wants to merge 1 commit into
Open
Conversation
Federated firebase_app_check_tvos — App Check for Apple TV, built on the Firebase Apple SDK. Re-exports the firebase_app_check Dart API and ships the native tvOS pluginClass; depends on firebase_core_tvos. DeviceCheck, App Attest, and Debug providers work on tvOS 15+. reCAPTCHA (RecaptchaProvider) is unavailable in the Firebase tvOS SDK — excluded, with its Pigeon case kept as an unsupported-platform stub so dispatch stays intact.
TheNoumanDev
force-pushed
the
feat/firebase-app-check-tvos
branch
from
August 14, 2026 00:03
a56b760 to
c3ad863
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds federated
firebase_app_check_tvos— Firebase App Check for Apple TV, built on the Firebase Apple SDK. Re-exports thefirebase_app_checkDart API and ships the native tvOSpluginClass; depends onfirebase_core_tvos.DeviceCheck, App Attest, and Debug attestation providers work on tvOS 15+. reCAPTCHA is excluded —
RecaptchaProvideris not part of the Firebase tvOS SDK; its Pigeon"recaptcha"case is kept as anunsupported-platformstub so registration/dispatch stay intact.Package(s) touched:
firebase_app_check_tvos(new)How was it tested?
Native
FirebaseAppCheck 12.15.0initializes on tvOS. With the Debug provider,activate()issues a debug token andgetToken()exchanges it with the App Check backend (exchangeDebugToken), returning a valid App Check token.Platform.operatingSystem == "tvos"/Platform.isIOS == true.example/appgetTokenround-trip succeeds against a live projectdart analyzeis clean for the packageVersioning & changelog
version:set to0.0.1(new package)## 0.0.1entry at the top ofCHANGELOG.md0.x: initial0.0.1Checklist
firebase_app_check_tvosfiles are touchedTODO/debug leftREADME.mddocuments tvOS behaviour (reCAPTCHA excluded; DeviceCheck/App Attest need a paid account for real-device attestation; version-alignment note)Notes for reviewers
RecaptchaProvideris iOS-only in the Firebase SDK. The"recaptcha"handler is kept as anunsupported-platformstub (never removed), so Pigeon dispatch doesn't break._tvosleaf packages): the native Pigeon matches thefirebase_core 4.11.x/firebase_core_platform_interface 7.1.0train. Mixingfirebase_core_tvoswith a differentfirebase_corewhoseFirebaseOptionslist differs can crash inCoreFirebaseOptions.fromListat launch (Dartoptions:init).Relavant issue: #12