Skip to content

fix(apple): always enable Hermes from 0.80+#2444

Merged
tido64 merged 2 commits into
trunkfrom
tido/0.80-hermes
Apr 9, 2025
Merged

fix(apple): always enable Hermes from 0.80+#2444
tido64 merged 2 commits into
trunkfrom
tido/0.80-hermes

Conversation

@tido64
Copy link
Copy Markdown
Member

@tido64 tido64 commented Apr 9, 2025

Description

With JSC no longer being a part of core from 0.80, we will also drop support for it.

Resolves #2436.

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

n/a

@github-actions github-actions Bot added the platform: iOS This affects iOS label Apr 9, 2025
Comment thread ios/features.mjs
return "from-source";
// Hermes prebuilds for visionOS was introduced in 0.76
if (
enabled &&
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It might be better to centralize these types of settings into capabilities. Maybe a function that returns an object with various capabilities given a RN version and process.env settings. It ends up being easier to manage. Doesn't need to be done now but something for you to consider.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@tido64 tido64 merged commit a1a2316 into trunk Apr 9, 2025
30 checks passed
@tido64 tido64 deleted the tido/0.80-hermes branch April 9, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: iOS This affects iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apple: JavaScriptCore has been extracted from react-native

2 participants