Example that shows a video using Expo's expo-video package.
This project uses
- the React Native TV fork, which supports both phone (Android and iOS) and TV (Android TV and Apple TV) targets
- the React Native TV config plugin to allow Expo prebuild to modify the project's native files for TV builds
Install dependencies:
yarnBuild for mobile devices:
npx expo prebuild --clean
yarn ios # Build for iOS
yarn android # Build for AndroidBuild for TV devices:
EXPO_TV=1 npx expo prebuild --clean
yarn ios # Build for Apple TV
yarn android # Build for Android TV