firebase_storage_tvos
The tvOS (Apple TV) implementation of firebase_storage,
provided by the flutter-tvos toolchain.
Generated by
flutter-tvos plugin portfromfirebase_storage, 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_storage and targets Apple TV only needs to add this package
alongside it:
dependencies:
firebase_storage: ^13.4.3
firebase_storage_tvos: ^0.0.2
The native plugin registers automatically through flutter-tvos' plugin
registrant — no extra imports or setup in app code. Use the normal
firebase_storage API; it routes to the Apple TV native side.
tvOS support
The Firebase Apple SDK exposes the full Cloud Storage surface on tvOS, so no Storage features are disabled here:
| Capability | tvOS |
|---|---|
Upload (putData, putString, putFile) |
✅ |
Download (getData, getDownloadURL, writeToFile) |
✅ |
| Metadata get / update | ✅ |
| List / listAll | ✅ |
| Delete | ✅ |
| Pause / resume / cancel tasks & progress events | ✅ |
Requirements
- Apple TV running tvOS 15.0 or later (the Firebase Apple SDK's minimum).
firebase_core_tvos(pulled in automatically).
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. It depends on firebase_core_tvos
0.0.4, which ships one too, and takes firebase-ios-sdk ~> 12.15.0, as in the
podspec.
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.