Skip to content

ahum/TVReanimated

 
 

Repository files navigation

TVReanimated

This is a demo project that allows the examples from react-native-reanimated to run on Apple TV and Android TV using the react-native-tvos fork of React Native.

The project includes small patches needed for react-native-screens, react-native-reanimated, and react-native-svg to build and run on Apple TV.

The navigation menus have been modified to display better on TV. Also, for TV platforms, only demos that work on TV (i.e. don't require touchscreen gestures) are shown in the navigation screens.

Getting started:

# Installation
git clone https://github.com/react-native-tvos/TVReanimated
cd TVReanimated
yarn
cd ios
pod install
cd ..
# iOS
react-native run-ios
# Apple TV
react-native run-ios --scheme="TVReanimated-tvOS" --simulator="Apple TV"
# Android (either phone or TV simulator or device already running and connected)
react-native run-android
reanimated-appletv-480.mov
reanimated-androidtv-480.mov

About

TV demo of react-native-reanimated

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.3%
  • Java 12.8%
  • C++ 6.2%
  • Objective-C 2.0%
  • Ruby 1.8%
  • JavaScript 1.2%
  • Other 1.7%