https://github.com/kosso/rntv-expo-fire-tv-issue
A repo to demonstrate that React Native TV does not run on a Fire TV Stick with the default exmaple
https://github.com/kosso/rntv-expo-fire-tv-issue
Last synced: 4 months ago
JSON representation
A repo to demonstrate that React Native TV does not run on a Fire TV Stick with the default exmaple
- Host: GitHub
- URL: https://github.com/kosso/rntv-expo-fire-tv-issue
- Owner: kosso
- Created: 2025-09-11T12:12:33.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-11T14:40:12.000Z (9 months ago)
- Last Synced: 2025-10-09T07:49:37.824Z (8 months ago)
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rntv-expo-fire-tv-issue
A repo to demonstrate that React Native TV does not run on a Fire TV Stick with the default example
issue: https://github.com/react-native-tvos/react-native-tvos/issues/985
1. Obtain an Amazon Fire TV device
2. Create a new app with `npx create-expo-app FireTVTest -e with-tv`
3. `cd FireTVTest`
4. Check the Fire TV device is ready for testing.
5. Obtain its IP address and connect with `adb connect [IP-ADDRESS]:5555`
6. Ensure this is the only connected device with `adb devices -l`
7. `npm run android`
--
# Observations:
After creating a new app with the `create-expo-app` `with-tv` template, the app fails to bundle fully and launch on an Amazon Fire TV Stick. (Though runs fine on physical Android TV devices)
The app appears to build and attempt to launch, but hangs on a blank screen (with what looks like a circular cropped image of the icon in the centre) before the bundling stage with the message:
```
› Installing /Users/******/FireTVTest/android/app/build/outputs/apk/debug/app-debug.apk
[ADB] Couldn't reverse port 8081: adb: error: more than one device/emulator
› Opening com.testing.test/.MainActivity on AFTMM
› Logs for your project will appear below. Press Ctrl+C to exit.
```
The app never reaches the usual 'AppEntry' stage, which would usually result in a single screen with the message "Open up App.tsx to start working on your app!"
This was tested again just today and is using:
Expo : ^54.0.0
React Native: npm:react-native-tvos@0.81.4-0
React: 19.1.0
Here is the generated, unedited package.json generated today by `npx create-expo-app -e with-tv`
```
{
"name": "firetvtest",
"version": "1.0.0",
"scripts": {
"start": "EXPO_TV=1 expo start",
"android": "EXPO_TV=1 expo run:android",
"ios": "EXPO_TV=1 expo run:ios",
"web": "expo start --web",
"prebuild:tv": "EXPO_TV=1 expo prebuild --clean",
"prebuild": "expo prebuild --clean"
},
"dependencies": {
"@expo/metro-runtime": "~6.1.1",
"expo": "^54.0.0",
"expo-splash-screen": "~31.0.8",
"expo-status-bar": "~3.0.7",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "npm:react-native-tvos@0.81.4-0",
"react-native-web": "^0.21.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@react-native-tvos/config-tv": "^0.1.4",
"@types/react": "~19.1.10",
"typescript": "~5.9.2"
},
"expo": {
"install": {
"exclude": [
"react-native"
]
}
},
"private": true
}
```