android: fix initializing soloader from Activity context
It has to be an application context.
This commit is contained in:
parent
adbb5f8ead
commit
06d8956bdb
|
@ -174,7 +174,7 @@ class ReactInstanceManagerHolder {
|
|||
return;
|
||||
}
|
||||
|
||||
SoLoader.init(activity, /* native exopackage */ false);
|
||||
SoLoader.init(activity.getApplication(), /* native exopackage */ false);
|
||||
|
||||
List<ReactPackage> packages
|
||||
= new ArrayList<>(Arrays.asList(
|
||||
|
|
Loading…
Reference in New Issue