'How to specify/upgrade hermes-engine version?
TLDR
After upgrading my ReactNative application to version 0.64.2, app crash on launch. I'm aware that I need to upgrade/specify hermes-engine to 0.7.2. Question is, where can I do this?
Details
Issue:
After upgrading React Native to version 0.64.2 and create release type .aab, deploy app to Physical Device. App crash upon launch. Similar issue raised in Github and solution was shared to upgrade hermes-engine version. Seems that, for 0.64.2 would require to specify to the specific hermes-engine, it would otherwise crash.
But where should I upgrade/specify the version?
What I have tried
- Manual specify the
hermes-engineversion~0.7.2atnode_modules/react-native/package.json. Built.aabfile, deploy to physical device. App launched as expected (no crash).
As noted...
by RN team already in their website
Solution 1:[1]
I guess it should be in npm install. Please try it.
npm i hermes-engine@
Example: Herms for RN 66 npm i [email protected]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | user3874125 |

