feat(firebase): tvOS support for cloud_functions - #19
Open
TheNoumanDev wants to merge 2 commits into
Open
Conversation
Federated cloud_functions_tvos — Firebase Cloud Functions for Apple TV, built on the Firebase Apple SDK. Re-exports the cloud_functions Dart API and ships the native tvOS pluginClass; depends on firebase_core_tvos. Full callable + streaming API, no feature disables. Ported from cloud_functions 6.3.3 (the firebase_core 4.11.x train).
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
cloud_functions_tvos— Firebase Cloud Functions (callable + streaming) for Apple TV, built on the Firebase Apple SDK. Re-exports thecloud_functionsDart API and ships the native tvOSpluginClass; depends onfirebase_core_tvos. Full API, no feature disables.Package(s) touched:
cloud_functions_tvos(new)How was it tested?
FirebaseFunctions.instance.httpsCallable(...).call()reaches the Cloud Functions backend (GTMSessionFetcher → us-central1-<project>.cloudfunctions.net) and returns the server's response.Platform.operatingSystem == "tvos"/Platform.isIOS == true.example/appdart 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
cloud_functions_tvosfiles are touchedTODO/debug leftREADME.mddocuments tvOS behaviour (full API; version-alignment note)Notes for reviewers
_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).related issue: #13