FireTV Platform
- Latest Android project
- Kotlin Support
- Support for Gradle 4.9
File Extension Support
Extenstions are defined via engines. Engines with firetv support:
Requirements
- Android Studio for Android development
- Android SDK
23.0.1
or newer for Android development
Project Configuration
Feature | Version |
---|---|
Gradle | 4.10.1 |
Android Gradle | 3.3.1 |
Kotlin | 1.3.20 |
Target SDK | 27 |
Run on Simulator
rnv run -p firetv
Run on Device
rnv run -p firetv -d
Deploy on Device
This will run production version on your device (not connected to metro bundler)
You can configure each buildScheme
ie -s release
in your config file ./appConfigs/<YOUR_APP_CONFIG>/renative.json
rnv run -p firetv -s release -d
Android X support
androidX is enabled by default
make sure you have this piece of script in package.json
"scripts" : {
"postinstall": "jetify"
}
Hermes support
Hermes can be enabled or disabled with "reactNativeEngine": "hermes"
prop in renative.json:platforms.android.reactNativeEngine
or renative.json:platforms.android.buildSchemes.[SCHEME].reactNativeEngine
Advanced
Clean and Re-build platform project
rnv run -p firetv -r
Launch specific emulator:
rnv target launch -p firetv -t Android_TV_720p_API_22
Android X support
androidX is enabled by default
make sure you have this piece of script in package.json
"scripts" : {
"postinstall": "jetify"
}
Hermes support
Hermes can be enabled or disabled with "reactNativeEngine": "hermes"
prop in renative.json:platforms.android.reactNativeEngine
or renative.json:platforms.android.buildSchemes.[SCHEME].reactNativeEngine