In order to use React Native on tvOS, you will need to use react-native-tvos.
tvOS support was deprecated and removed from current/future versions of React Native.
We strongly recommend using React Native 0.69+ with React 18+
Change the following dependency in your projects package.json
file to get started.
"react-native": "npm:[email protected]"
IMPORTANT: Make sure you are using CocoaPods 1.10 or higher.
You may have to change the platform
field in your podfile.
react-native-webrtc
doesn't support tvOS < 16. Set it to '16.0' or above.
Older versions of tvOS don't support WebRTC.
platform :tvos, '16.0'