You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking a tvOS port of firebase_in_app_messaging. Findings from the Firebase Apple SDK:
Headless engine works on tvOS.FirebaseInAppMessaging.podspec builds for tvOS (s.tvos.deployment_target = '15.0', s.tvos.source_files) — campaign fetch, trigger evaluation and analytics all compile and run. The Dart API (triggerEvent, setMessagesSuppressed, setAutomaticDataCollectionEnabled) ports with the standard federated recipe.
The default display UI is iOS-only. The tvOS source_files omit Sources/DefaultUI/** (the card / modal / banner view controllers), and the display resources are declared under s.ios.resource_bundles only (no s.tvos.resource_bundles). So the engine can trigger a message, but there is no built-in renderer on tvOS — nothing draws.
What a full port needs (self-contained in the _tvos package). Firebase already exposes a native display hook — FIRInAppMessaging.inAppMessaging().messageDisplayComponent — which receives the full message and is responsible for rendering it (the slot DefaultUI fills on iOS). So firebase_in_app_messaging_tvos would register a native, focus-based tvOS display component that draws the message with tvOS UIKit — the same auto-display behaviour as iOS, adapted for the 10-foot TV UI. No changes to the upstream plugin, the platform interface, or app code; the message data stays native.
Summary: the headless port is mechanical, but making messages actually show requires implementing the tvOS UI layer inside the _tvos package (view controllers for banner / modal / card / image-only). Documenting for visibility.
firebase-ios-sdk's FirebaseInAppMessaging podspec has a tvOS deployment target (15.0), but its tvOS source_files leave out Sources/DefaultUI, and the display resources are under s.ios.resource_bundles only. In Package.swift the FirebaseInAppMessaging-Beta product builds for iOS and tvOS, and FirebaseInAppMessaging_iOS, the default UI, is iOS-only. FIRInAppMessaging is marked unavailable on macOS and watchOS, not tvOS, and has the messageDisplayComponent property you describe. So the engine side is available on tvOS and a message would have to be drawn by our own display component.
Two other things. The upstream plugin only declares android and ios, so there is no tvOS implementation to port, only to write. And the current upstream release, firebase_in_app_messaging 0.10.2, requires firebase_core ^5.1.0, while firebase_core_tvos is still on firebase_core ^4.13.0 (see #38), so a port of the current plugin has to wait for that.
There is no firebase_in_app_messaging_tvos package here and I am not working on one. AUTHORING.md describes the layout of a *_tvos package; contributions are welcome.
Activity
[-]firebase_in_app_messaging on tvOS — needed?[/-][+]Port firebase_in_app_messaging to tvOS[/+]MAUstaoglu commentedon Nov 18, 2026
Thanks, I checked the same points and they hold.
firebase-ios-sdk's FirebaseInAppMessaging podspec has a tvOS deployment target (15.0), but its tvOS
source_filesleave outSources/DefaultUI, and the display resources are unders.ios.resource_bundlesonly. In Package.swift theFirebaseInAppMessaging-Betaproduct builds for iOS and tvOS, andFirebaseInAppMessaging_iOS, the default UI, is iOS-only.FIRInAppMessagingis marked unavailable on macOS and watchOS, not tvOS, and has themessageDisplayComponentproperty you describe. So the engine side is available on tvOS and a message would have to be drawn by our own display component.Two other things. The upstream plugin only declares
androidandios, so there is no tvOS implementation to port, only to write. And the current upstream release, firebase_in_app_messaging 0.10.2, requires firebase_core ^5.1.0, while firebase_core_tvos is still on firebase_core ^4.13.0 (see #38), so a port of the current plugin has to wait for that.There is no firebase_in_app_messaging_tvos package here and I am not working on one. AUTHORING.md describes the layout of a
*_tvospackage; contributions are welcome.