status-mobile/nix/mobile
Siddarth Kumar df76881c90
chore: disable hermes via gradle project env var (#18675)
fixes #18493

We enabled `hermes` for android in the `react-native` upgrade to `0.72.5`
Although things seemed fine but developers were seeing frequent crashes in their local environment.

After some investigation the crashes were traced to max native call stack depth in `hermes` engine.
Disabling `hermes` for local debug builds helps fix that issue.

This commit disables `hermes` by default with the help of a exporting an environment variable in the `make run-android` command.
It is annoying that this also modifies `android/gradle.properties` so we keep `hermesEnabled` as `false` there as well.
We also enable `hermes` when generating release builds so that we can take advantage of `hermes` engine in release builds.

We also add a log to print whether `hermes` is enabled or not. I think its helpful to have this so that we know whether `hermes` is enabled or not.
2024-02-01 20:56:18 +05:30
..
android chore: disable hermes via gradle project env var (#18675) 2024-02-01 20:56:18 +05:30
fastlane major nix refactor 2019-12-12 18:51:21 +01:00
ios feat: add `xcbeautify` to iOS shell (#18273) 2023-12-22 19:45:59 +05:30
jsbundle Fix: resolve our Clojure source dependencies first in the classpath (#17919) 2023-11-18 08:50:11 -03:00
default.nix nix: use jsbundle derivation for iOS as well 2023-05-22 10:31:09 +02:00