diff --git a/packages/helloworld/android/app/build.gradle b/packages/helloworld/android/app/build.gradle index 4eaf707ac33..847800a733c 100644 --- a/packages/helloworld/android/app/build.gradle +++ b/packages/helloworld/android/app/build.gradle @@ -77,19 +77,6 @@ react { */ def enableProguardInReleaseBuilds = false -/** - * The preferred build flavor of JavaScriptCore (JSC) - * - * For example, to use the international variant, you can use: - * `def jscFlavor = "io.github.react-native-community:jsc-android-intl:2026004.+"` - * - * The international variant includes ICU i18n library and necessary data - * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that - * give correct results when using with locales other than en-US. Note that - * this variant is about 6MiB larger per architecture than default. - */ -def jscFlavor = "io.github.react-native-community:jsc-android:2026004.+" - android { ndkVersion rootProject.ext.ndkVersion buildToolsVersion rootProject.ext.buildToolsVersion @@ -128,10 +115,5 @@ android { dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android") - - if (hermesEnabled.toBoolean()) { - implementation("com.facebook.react:hermes-android") - } else { - implementation jscFlavor - } + implementation("com.facebook.react:hermes-android") } diff --git a/packages/helloworld/android/app/src/main/java/com/helloworld/MainApplication.kt b/packages/helloworld/android/app/src/main/java/com/helloworld/MainApplication.kt index bcefc56197d..453abeb650c 100644 --- a/packages/helloworld/android/app/src/main/java/com/helloworld/MainApplication.kt +++ b/packages/helloworld/android/app/src/main/java/com/helloworld/MainApplication.kt @@ -32,7 +32,7 @@ class MainApplication : Application(), ReactApplication { override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED - override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED + override val isHermesEnabled: Boolean = true } override val reactHost: ReactHost