firebase_core_tvos
The tvOS (Apple TV) implementation of firebase_core,
provided by the flutter-tvos toolchain.
Generated by
flutter-tvos plugin portfromfirebase_core, then completed by hand. SeePORTING_REPORT.mdfor the full list of what was changed.
Usage
This is a federated plugin implementation. An app that already depends on
firebase_core and targets Apple TV only needs to add this package alongside
it:
dependencies:
firebase_core: ^4.13.0
firebase_core_tvos: ^0.0.4
The native plugin registers automatically through flutter-tvos' plugin
registrant — no extra imports or setup in app code. Use the normal
firebase_core API (Firebase.initializeApp, Firebase.app, …); it routes to
the Apple TV native side.
tvOS support
Built on the Firebase Apple SDK, which has supported tvOS since 8.9.0. The full
firebase_core surface works:
| Capability | tvOS |
|---|---|
Firebase.initializeApp (default & named apps) |
✅ |
Firebase.app / Firebase.apps |
✅ |
FirebaseApp.delete / options |
✅ |
There are no firebase_core features disabled on tvOS. Plugins built on top of
Firebase Core (auth, Firestore, storage, messaging) have their own tvOS support
matrices — see their respective *_tvos packages.
Requirements
- Apple TV running tvOS 15.0 or later (the Firebase Apple SDK's minimum).
Swift Package Manager
This package ships a tvos/Package.swift. flutter-tvos links a plugin that
ships tvos/Package.swift through Swift Package Manager and leaves it out of
the Podfile. No manual setup is needed. Every tvOS FlutterFire port that depends
on this package ships one too, from the version that requires
firebase_core_tvos: ^0.0.4, so they link through SwiftPM together and share
one firebase-ios-sdk (~> 12.15.0, as in the podspecs).
Needs flutter-tvos 1.3.0 or later, the first release that links plugins through
SwiftPM, places them side by side (so ../firebase_core_tvos and
../FlutterFramework resolve) and leaves them out of the Podfile.
License
fluttertv, under a BSD-3-Clause license. See LICENSE for the full text.