Skip to content

fix: inability to disable hermesV1 on Android#55399

Closed
tjzel wants to merge 1 commit into
react:mainfrom
tjzel:@tjzel/fix-default-hermes-v1
Closed

fix: inability to disable hermesV1 on Android#55399
tjzel wants to merge 1 commit into
react:mainfrom
tjzel:@tjzel/fix-default-hermes-v1

Conversation

@tjzel

@tjzel tjzel commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Summary:

Changing the line in ReactPlugin.kt that always set hermesV1Enabled to true even if it was explicitly disabled, accidentally omitted in #54989.

In recent update of hermes V1 binary a file RuntimeAdapter.h was removed.

Changelog:

[ANDROID] [FIXED] - ReactPlugin.kt always setting hermesV1Enabled to true

Test Plan:

Build React Native from source on latest 0.84 RC, disable hermesV1 and see that it compiles now.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 3, 2026
@facebook-github-bot facebook-github-bot added p: Software Mansion Partner: Software Mansion Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Feb 3, 2026
@meta-codesync

meta-codesync Bot commented Feb 4, 2026

Copy link
Copy Markdown

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D92267385.

@meta-codesync meta-codesync Bot closed this in 4589667 Feb 5, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 5, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @tjzel in 4589667

When will my fix make it into a release? | How to file a pick request?

@meta-codesync

meta-codesync Bot commented Feb 5, 2026

Copy link
Copy Markdown

@cortinico merged this pull request in 4589667.

react-native-bot pushed a commit that referenced this pull request Feb 26, 2026
Summary:
Changing the line in `ReactPlugin.kt` that always set `hermesV1Enabled` to `true` even if it was explicitly disabled, accidentally omitted in #54989.

In recent update of hermes V1 binary a file `RuntimeAdapter.h` was removed.

## Changelog:

[ANDROID] [FIXED] - ReactPlugin.kt always setting `hermesV1Enabled` to `true`

Pull Request resolved: #55399

Test Plan: Build React Native from source on latest 0.84 RC, disable hermesV1 and see that it compiles now.

Reviewed By: cipolleschi

Differential Revision: D92267385

Pulled By: cortinico

fbshipit-source-id: 58ecae6d3064995ef9e63ddbd67ac04db2a1126b
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @tjzel in 83a038d

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Software Mansion Partner: Software Mansion Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants