mmazzarolo / react-native-universal-monorepo

React Native boilerplate supporting multiple platforms: Android, iOS, macOS, Windows, web, browser extensions, Electron.
MIT License
1.7k stars 150 forks source link

feat: add tvos and android tv #15

Closed thefinnomenon closed 2 years ago

thefinnomenon commented 2 years ago

This PR adds support for tvOS and Android TV.

Here are the dev notes, https://unequaled-ray-da9.notion.site/Add-TV-Support-8e62afc3d02b408489ed0b4f7d6a97a6

I'm going to turn it into a blog post tomorrow if that's fine with you.

Also, thanks for answering my issue so quick. Your advice was super helpful and I'm going to try to add Next next.

mmazzarolo commented 2 years ago

Woah! I'm AFK now and I can't test it but this looks phenomenal. Great work 🙌 I should be able to give it a try on Tue/Wed.
And yeah, definitely go for a blog post. I'll gladly link it too 👍

thefinnomenon commented 2 years ago

Cool cool! Here is the blog post, https://finnternet.com/dev/blog/react-native-tv-monorepo.

The only two kinda weird things are,

Also, I am working on Next support and can open a PR after if you are cool with that.

thefinnomenon commented 2 years ago

Everything should be good! The only thing left is how you want to handle the tv types import. I am importing it in app config.js so the extra types are always available, but let me know what you think.

thefinnomenon commented 2 years ago

Should be all set 👍🏽