Fire TV SDK Setup
Airship SDK support and setup for Fire OS Fire TV applications
You can use Airship to send messages to your app on Fire OS Fire TV devices. You can also control which features are available in your app.
Message type and feature support
Send to Fire TV devices in the same way as for Fire OS mobile devices. In the dashboard, select the Fire OS channel. Using the API, specify amazon_channel
in the audience object.
All supported messages message types and features can be implemented without development work.
Supported for Fire TV:
Requirements
- Minimum Android version supported
21+
- Compile SDK version
34+
SDK Installation
The Airship SDK is split into modules which allow you to choose the push
providers and features to be included in your application. Fire TV receives messages via ADM, so you’ll
need to include the urbanairship-adm
provider in order to receive notifications.
Example installation
dependencies {
val airshipVersion = "17.8.0"
// ADM push provider
implementation("com.urbanairship.android:urbanairship-adm:$airshipVersion")
// Message Center
implementation("com.urbanairship.android:urbanairship-message-center:$airshipVersion")
// Feature Flags
implementation("com.urbanairship.android:urbanairship-feature-flag:$airshipVersion")
}
All Airship dependencies included in the build.gradle.kts
file should all specify the exact same version.
dependencies {
def airshipVersion = "17.8.0"
// ADM push provider
implementation "com.urbanairship.android:urbanairship-adm:$airshipVersion"
// Message Center
implementation "com.urbanairship.android:urbanairship-message-center:$airshipVersion"
}
All Airship dependencies included in the build.gradle
file should all specify the exact same version.
ADM setup
Follow Amazon’s documentation to store your API key as an asset.
Configure and initialize Airship
Fire TV is supported via the native Android Airship SDK, and makes use of the same process to configure and initialize Airship on Fire TV devices. Refer to the Android SDK Setup guide for further set up instructions.
Categories