Skip to content

Latest commit

 

History

History
 
 

with-tv

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TV Example

Creates a project that can build for Apple TV and Android TV targets.

Note: This example is still at an experimental stage, and is based on SDK 50 beta release.

This project uses

🚀 How to use

Creating a new project

  • Create a project: npx create-expo-app -e with-tv
  • cd into the project
export EXPO_TV=1
npx expo prebuild
yarn ios # Build for Apple TV
yarn android # Build for Android TV

TV specific file extensions

This project contains an example Metro configuration that allows Metro to resolve application source files with TV-specific code, indicated by specific file extensions (*.ios.tv.tsx, *.android.tv.tsx, *.tv.tsx). This config is not enabled by default, since it will impact bundling performance, but is available for developers who need this capability.