To use this template
npx create-expo-app -t ac-native-tv-boillerplate-ts
To run on Android TV
yarn prebuild:android
yarn android
EAS Build for Testing
If you don't have eas-cli
, you need to install first:
npm install -g eas-cli
then
eas build --profile preview --platform android
Environment variables
Development
Create .env
file or you can rename .env.example
file as .env
.
Production
Variables from .env
will not be loaded upon production build with eas build
.
In order to add environment variables, you need to use eas secret:create
command. https://docs.expo.dev/build-reference/variables/#adding-secrets-with-eas-cli