Skip to content

Feature request: support Apple TV #1476

@douglowder

Description

@douglowder

Describe the Feature

I'm the maintainer for the Apple TV and Android TV RN repo (https://github.com/react-native-tvos/react-native-tvos). I'd like to implement better CLI support for Apple TV with two features:

  • New command react-native run-tvos (this can be done with the right flags to run-ios, but it would be convenient to have a separate command)
  • Make react-native upgrade work with the react-native-tvos fork

Possible Implementations

I plan on implementing these, but wanted to find out your preference on the approach I should take.

For run-tvos, should I make changes to the existing platform-ios package, or do it in a separate package (which means a lot of duplicate code)?

For upgrade, it seems to me the right way is to have upgrade.ts detect that the project uses react-native-tvos and use the react-native-tvos diffs (I have already created a repo for the diffs). But if you prefer a separate command or package for this, that's ok.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions