Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tvOS support #1529

Closed
wants to merge 3 commits into from
Closed

Conversation

douglowder
Copy link
Contributor

Summary

Add Apple TV support for Hermes.

Note: This support requires a few source file changes to work around code that will not compile for tvOS. Comments containing the compiler errors have been added.

Test Plan

  • tvOS is added to the Apple test app and to Circle CI
  • Patch will be added to a test build of React Native TV to verify against RNTester

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 5, 2024
douglowder added a commit to react-native-tvos/react-native-tvos that referenced this pull request Oct 6, 2024
- Test exact changes submitted in facebook/hermes#1529
@douglowder
Copy link
Contributor Author

RNTester CI build seems to be working fine: https://github.com/react-native-tvos/react-native-tvos/releases/tag/v0.76.0-0test2

douglowder added a commit to react-native-tvos/react-native-tvos that referenced this pull request Oct 6, 2024
- Test exact changes submitted in facebook/hermes#1529
Copy link

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@douglowder thankss for looking into this and for opening this PR.

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@neildhar merged this pull request in 924f1d1.

facebook-github-bot pushed a commit that referenced this pull request Oct 15, 2024
Summary:
Original Author: douglowder@mac.com
Original Git: 924f1d1
Original Reviewed By: tmikov
Original Revision: D64030986

Add Apple TV support for Hermes.

*Note:* This support requires a few source file changes to work around code that will not compile for tvOS. Comments containing the compiler errors have been added.

Pull Request resolved: #1529

Reviewed By: neildhar

Differential Revision: D64362592

fbshipit-source-id: 6c3a698b1d87ac444869f232963a9323e8b1a05f
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Oct 16, 2024
Summary:
Adds tvOS to the list of Apple platforms supported by the Hermes artifacts. After this, the React Native TV builds will be able to use the same Hermes artifacts as those used by RN core.

~Added some code in `hermes-utils.rb` so that the Hermes podspec can use a local Maven repo (`/tmp/maven-local`).~

> *Note:* ~This PR should not be merged until the corresponding Hermes PR facebook/hermes#1529 is merged.~ (facebook/hermes#1529 has been merged)

## Changelog:

[iOS][Added] tvOS support for Hermes artifacts

Pull Request resolved: #46865

Test Plan: - tvOS is also added to the build and test GitHub workflows.

Reviewed By: rshest

Differential Revision: D64461324

Pulled By: cipolleschi

fbshipit-source-id: d63889c60c72519818e7076cd0ab5851791715a1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants