You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/NdkConfiguratorUtils.kt
* If true, the app will load the Hermes engine, and fail if not found. If false, the app will
93
94
* load the JSC engine, and fail if not found.
94
95
*/
95
-
@Deprecated(
96
-
"Setting isHermesEnabled inside `ReactNativeHost` is deprecated and this field will be ignored. If this field is set to true, you can safely remove it. If this field is set to false, please follow the setup on https://github.com/react-native-community/javascriptcore to continue using JSC",
97
-
ReplaceWith(""))
98
96
protectedopenval isHermesEnabled:Boolean
99
97
get() =true
100
98
@@ -108,7 +106,8 @@ protected constructor(
108
106
context:Context,
109
107
jsRuntimeFactory:JSRuntimeFactory? = null
110
108
): ReactHost {
111
-
val concreteJSRuntimeFactory = jsRuntimeFactory ?:HermesInstance()
0 commit comments