Closed matiasmateu closed 3 months ago
Having this issue as well
@matiasmateu thanks for reporting this issue, is this still reproduced on latest version?
Actual hermes engine is working as default but can't override it with other engines on 1.0.0-rc.6 new project
@GabrieleKaceviciute @pauliusguzas 1.0.0-rc.7. Hermes works in the repo and in new project as well.
How to check: modify renative. json by set other engine. For example:
"platforms": { "android":{ "reactNativeEngine": "v8-android" } },
Describe the bug Hermes cannot be enabled on Android
To Reproduce 1 - Created a new blank RNV project ( https://github.com/matiasmateu/renativeHermes )
2 - Added reactNativeEngine = "hermes" to platforms.android ( https://github.com/matiasmateu/renativeHermes/blob/ec21fdcfb224e35108ae09bf6e13f01bb5c19f64/renative.json#L4 )
2.1 - I can see in platformBuilds -> build.grade: enableHermes: true && new deps debugImplementation files("{pathToProject}/emptyRenative/node_modules/hermes-engine/android/hermes-debug.aar") releaseImplementation files("{pathToProject}/emptyRenative/node_modules/hermes-engine/android/hermes-release.aar")
3 - However, global.HermesInternal is always undefined ( https://github.com/matiasmateu/renativeHermes/blob/ec21fdcfb224e35108ae09bf6e13f01bb5c19f64/src/app/index.js#L6 )
Expected behavior global.HermesInternal should not be undefined
Desktop: