feat(firebase): tvOS support for firebase_remote_config - #10
Open
TheNoumanDev wants to merge 1 commit into
Open
Conversation
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.
PR description (continuous lines)
What does this PR do?
Adds federated
firebase_remote_config_tvos— Firebase Remote Config for Apple TV, built on the Firebase Apple SDK. Re-exports thefirebase_remote_configDart API and ships the native tvOSpluginClass; depends onfirebase_core_tvos. Full Remote Config API (defaults, fetch/activate/fetchAndActivate, typed getters, config settings, real-time updates), no feature disables.Package(s) touched:
firebase_remote_config_tvos(new)How was it tested?
Verified end-to-end on both the tvOS simulator and a physical Apple TV 4K (tvOS 26.2, release/AOT) against a live Firebase project.
FirebaseRemoteConfig 12.15.0initialized, a real fetch hitfirebaseremoteconfig.googleapis.com/.../namespaces/firebase:fetch, andfetchAndActivatereturnedactivated=truewithlastFetchStatus == RemoteConfigFetchStatus.success. A parameter published in the Firebase console was fetched and activated on the device — the on-deviceRemoteConfig.sqlite3(pulled viadevicectl) holds the console value in both the fetched and active tables, overriding the local default. No feature disables (Remote Config is UI-free).Platform.operatingSystem == "tvos"/Platform.isIOS == true.example/appRemoteConfigFetchStatus.success)RemoteConfig.sqlite3)dart 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_remote_config_tvosfiles are touchedTODO/debug leftoversREADME.mddocuments tvOS behaviour (no feature limitations; version-alignment note)Notes for reviewers
_tvosleaf packages): the native code matchesfirebase_remote_config 6.5.3on thefirebase_core_platform_interface7.1.0 train (firebase_core 4.11.x). Mixingfirebase_core_tvoswith a differentfirebase_corewhoseFirebaseOptionslist differs can crash inCoreFirebaseOptions.fromListat launch (Dartoptions:init). 6.5.3 is the latest on this train — 6.5.6 requiresfirebase_core 4.13/ platform interface 8.1.Firebase/RemoteConfig+firebase_core_tvos, tvOS 15); Swiftfirebase_coreimport repointed tofirebase_core_tvos; generatedtvos/Package.swiftremoved (route via podspec); Dart re-export.