@@ -55,19 +55,6 @@ apply plugin: "com.facebook.react"
5555 */
5656def enableProguardInReleaseBuilds = false
5757
58- /**
59- * The preferred build flavor of JavaScriptCore (JSC).
60- *
61- * For example, to use the international variant, you can use:
62- * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
63- *
64- * The international variant includes ICU i18n library and necessary data
65- * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
66- * give correct results when using with locales other than en-US. Note that
67- * this variant is about 6MiB larger per architecture than default.
68- */
69- def jscFlavor = " org.webkit:android-jsc:+"
70-
7158android {
7259 ndkVersion rootProject. ndkVersion
7360 buildToolsVersion rootProject. ext. buildToolsVersion
@@ -114,7 +101,6 @@ android {
114101 buildConfig true
115102 }
116103 packagingOptions {
117- pickFirst " **/libjsc.so"
118104 pickFirst " **/libc++_shared.so"
119105 }
120106}
@@ -128,13 +114,8 @@ dependencies {
128114 implementation " com.facebook.react:react-native:+" // From node_modules
129115
130116 // Javascript engine
131- if (hermesEnabled. toBoolean()) {
132- implementation(" com.facebook.react:hermes-android" )
133- } else {
134- implementation jscFlavor
135- implementation " org.webkit:android-jsc:r174650"
136- }
137-
117+ implementation(" com.facebook.react:hermes-android" )
118+
138119 implementation project(' :react-native-localize' )
139120 implementation project(" :react-native-splash-screen" )
140121 implementation project(" :mendixnative-release" )
0 commit comments