I am having difficulty setting up a React Native project for Apple TV. Could somebody explain the instructions or tell me what commands to enter into the terminal? Currently, I am creating React Native apps using npx
(e.g. npx react-native init myproject
, npx react-native run-ios
).
According to https://facebook.github.io/react-native/docs/building-for-apple-tv the RNTester app supports Apple TV. However, I do not know what RNTester is or how to use the RNTester-tvOS
build target.
https://github.com/react-native-community/react-native-tvos provides more information, but I am currently unable to understand it.