npx create-expo-app -t ac-native-tv-boillerplate-ts
yarn prebuild:android
yarn android
If you don't have eas-cli
, you need to install first:
npm install -g eas-cli
then
eas build --profile preview --platform android
Create .env
file or you can rename .env.example
file as .env
.
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