diff --git a/packages/react-native/ReactAndroid/api/ReactAndroid.api b/packages/react-native/ReactAndroid/api/ReactAndroid.api index f70386ad9e148b..03b14a6a8f2b24 100644 --- a/packages/react-native/ReactAndroid/api/ReactAndroid.api +++ b/packages/react-native/ReactAndroid/api/ReactAndroid.api @@ -3651,13 +3651,9 @@ public class com/facebook/react/runtime/CoreReactPackage$$ReactModuleInfoProvide } public final class com/facebook/react/runtime/JSCInstance : com/facebook/react/runtime/JSRuntimeFactory { - public static final field Companion Lcom/facebook/react/runtime/JSCInstance$Companion; public fun ()V } -public final class com/facebook/react/runtime/JSCInstance$Companion { -} - public abstract class com/facebook/react/runtime/JSRuntimeFactory { protected fun (Lcom/facebook/jni/HybridData;)V } diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/JSCInstance.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/JSCInstance.kt index 12e0ffd4f94c60..75ca7e6b92d182 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/JSCInstance.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/JSCInstance.kt @@ -12,7 +12,7 @@ import com.facebook.jni.annotations.DoNotStrip import com.facebook.soloader.SoLoader public class JSCInstance constructor() : JSRuntimeFactory(initHybrid()) { - public companion object { + private companion object { init { SoLoader.loadLibrary("jscinstance") }