Skip to content

Commit cf5b1fd

Browse files
committed
fix: load correct prod version of hermes
1 parent c4553cd commit cf5b1fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/react-native-reanimated/android/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,12 @@ dependencies {
518518

519519
implementation "com.facebook.react:react-android" // version substituted by RNGP
520520
if (JS_RUNTIME == "hermes") {
521-
implementation "com.facebook.react:hermes-android" // version substituted by RNGP
521+
if (System.getenv("BUILD_TYPE") == "release") {
522+
def hermesPath = "../../@exodus/hermes-engine/android/";
523+
releaseImplementation files(hermesPath + "hermes-release.aar")
524+
} else {
525+
implementation("com.facebook.react:hermes-android")
526+
}
522527
}
523528
}
524529

0 commit comments

Comments
 (0)