debug: enable new arch, hermes for issues

This commit is contained in:
Siddarth Kumar 2024-09-17 20:44:36 +05:30
parent d74530b0e2
commit e8dd70bbba
No known key found for this signature in database
GPG Key ID: 599D10112BF518DB
2 changed files with 4 additions and 4 deletions

View File

@ -275,10 +275,10 @@ run-re-frisk: ##@run Start re-frisk server
run-android: export TARGET := android
# Disabled for debug builds to avoid 'maximum call stack exceeded' errors.
# https://github.com/status-im/status-mobile/issues/18493
run-android: export ORG_GRADLE_PROJECT_hermesEnabled := false
run-android: export ORG_GRADLE_PROJECT_universalApk := false
run-android: export ORG_GRADLE_PROJECT_hermesEnabled := true
# enabling new architecture requires hermes to be enabled
run-android: export ORG_GRADLE_PROJECT_newArchEnabled := false
run-android: export ORG_GRADLE_PROJECT_newArchEnabled := true
run-android: ##@run Build Android APK and start it on the device
@scripts/run-android.sh

View File

@ -54,10 +54,10 @@ commitHash=unknown
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
# enabling new architecture requires hermes to be enabled
newArchEnabled=false
newArchEnabled=true
# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
# Disabled for debug builds to avoid 'maximum call stack exceeded' errors.
# https://github.com/status-im/status-mobile/issues/18493
hermesEnabled=false
hermesEnabled=true