Fix instacrash on RN-Tester + Bridgeless (#42295)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42295

Fix instacrash on RN-Tester + Bridgeless

Changelog:
[Internal] [Changed] - Fix instacrash on RN-Tester + Bridgeless

Reviewed By: cipolleschi

Differential Revision: D52797547

fbshipit-source-id: 823260865d420147ed264b101634ddd105237283
This commit is contained in:
Nicola Corti
2024-01-16 03:51:07 -08:00
committed by Facebook GitHub Bot
parent af70594a5f
commit da05345c33
@@ -4,6 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.fabric
import com.facebook.jni.HybridData
@@ -26,4 +27,10 @@ class EmptyReactNativeConfig : ReactNativeConfig {
external override fun getString(param: String): String
external override fun getDouble(param: String): Double
companion object {
init {
FabricSoLoader.staticInit()
}
}
}