Skip to content

Commit 51d9524

Browse files
committed
use legacy hermes
1 parent 38854bf commit 51d9524

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

android/gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ newArchEnabled=true
4141
# If set to false, you will be using JSC instead.
4242
hermesEnabled=true
4343

44+
# Opt out of Hermes V1 (use legacy Hermes) until @lavamoat/react-native-lockdown
45+
# is confirmed compatible with Hermes V1
46+
hermesV1Enabled=false
47+
4448
# Use this property to enable edge-to-edge display support.
4549
# This allows your app to draw behind system bars for an immersive UI.
4650
# Note: Only works with ReactActivity and should not be used with custom Activity.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@
1111
"start": "react-native start",
1212
"test": "jest",
1313
"test:report": "jest --collectCoverage --coverageDirectory=\"./coverage\" --ci --reporters=default --coverage",
14-
"podinstall": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install && cd ..",
14+
"podinstall": "cd ios && RCT_NEW_ARCH_ENABLED=1 RCT_HERMES_V1_ENABLED=0 RCT_USE_PREBUILT_RNCORE=0 bundle exec pod install && cd ..",
1515
"bundleinstall": "cd ios && bundle install && cd ..",
1616
"postinstall": "patch-package && node_modules/.bin/rn-nodeify --install 'events,assert,util,buffer,stream,process,http,https,url,net,tls,zlib,_stream_transform' --yarn --hack"
1717
},
1818
"resolutions": {
1919
"viem": "2.42.1",
20-
"@types/react": "19.2.14"
20+
"@types/react": "19.2.14",
21+
"hermes-compiler": "0.15.0"
2122
},
2223
"overrides": {
2324
"viem": "2.42.1",
24-
"@types/react": "19.2.14"
25+
"@types/react": "19.2.14",
26+
"hermes-compiler": "0.15.0"
2527
},
2628
"dependencies": {
2729
"@alchemy/aa-core": "3.19.0",

0 commit comments

Comments
 (0)