Skip to content

Commit f72f280

Browse files
committed
fix(android): ensure SoLoader is initialized
1 parent 99b6feb commit f72f280

File tree

2 files changed

+4
-0
lines changed
  • android/app/src
    • reactapplication-0.73/java/com/microsoft/reacttestapp
    • reactapplication-pre-0.73/java/com/microsoft/reacttestapp

2 files changed

+4
-0
lines changed

android/app/src/reactapplication-0.73/java/com/microsoft/reacttestapp/TestApp.kt

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class TestApp : Application(), ReactApplication {
3737
override fun onCreate() {
3838
super.onCreate()
3939

40+
SoLoader.init(this, false)
41+
4042
reactNativeBundleNameProvider = ReactBundleNameProvider(this, manifest.bundleRoot)
4143
reactNativeHostInternal =
4244
TestAppReactNativeHost(this, reactNativeBundleNameProvider)

android/app/src/reactapplication-pre-0.73/java/com/microsoft/reacttestapp/TestApp.kt

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class TestApp : Application(), ReactApplication {
2929
override fun onCreate() {
3030
super.onCreate()
3131

32+
SoLoader.init(this, false)
33+
3234
reactNativeBundleNameProvider = ReactBundleNameProvider(this, manifest.bundleRoot)
3335
reactNativeHostInternal =
3436
TestAppReactNativeHost(this, reactNativeBundleNameProvider)

0 commit comments

Comments
 (0)