mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Bump SoLoader to 0.13.0 (#59813)
This commit is contained in:
1 parent
fd6fb6671c
commit
f2a0b2f06e
3 files changed
+3
-15
No files matched your search
+1
-7
@@ -76,8 +76,6 @@ abstract class GenerateEntryPointTask : DefaultTask() {
|
||||
import com.facebook.react.soloader.OpenSourceMergedSoMapping;
|
||||
import com.facebook.soloader.SoLoader;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* This class is the entry point for loading React Native using the configuration
|
||||
* that the users specifies in their .gradle files.
|
||||
@@ -87,11 +85,7 @@ abstract class GenerateEntryPointTask : DefaultTask() {
|
||||
*/
|
||||
public class ReactNativeApplicationEntryPoint {
|
||||
public static void loadReactNative(Context context) {
|
||||
try {
|
||||
SoLoader.init(context, OpenSourceMergedSoMapping.INSTANCE);
|
||||
} catch (IOException error) {
|
||||
throw new RuntimeException(error);
|
||||
}
|
||||
SoLoader.init(context, OpenSourceMergedSoMapping.INSTANCE);
|
||||
|
||||
if ({{packageName}}.BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
|
||||
DefaultNewArchitectureEntryPoint.load();
|
||||
|
||||
+1
-7
@@ -59,8 +59,6 @@ class GenerateEntryPointTaskTest {
|
||||
import com.facebook.react.soloader.OpenSourceMergedSoMapping;
|
||||
import com.facebook.soloader.SoLoader;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* This class is the entry point for loading React Native using the configuration
|
||||
* that the users specifies in their .gradle files.
|
||||
@@ -70,11 +68,7 @@ class GenerateEntryPointTaskTest {
|
||||
*/
|
||||
public class ReactNativeApplicationEntryPoint {
|
||||
public static void loadReactNative(Context context) {
|
||||
try {
|
||||
SoLoader.init(context, OpenSourceMergedSoMapping.INSTANCE);
|
||||
} catch (IOException error) {
|
||||
throw new RuntimeException(error);
|
||||
}
|
||||
SoLoader.init(context, OpenSourceMergedSoMapping.INSTANCE);
|
||||
|
||||
if (com.facebook.react.BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
|
||||
DefaultNewArchitectureEntryPoint.load();
|
||||
|
||||
@@ -38,7 +38,7 @@ nexus-publish = "2.0.0"
|
||||
okhttp = "4.9.2"
|
||||
okio = "2.9.0"
|
||||
robolectric = "4.15.1"
|
||||
soloader = "0.12.1"
|
||||
soloader = "0.13.0"
|
||||
uiautomator = "2.3.0"
|
||||
xstream = "1.4.20"
|
||||
yoga-proguard-annotations = "1.19.0"
|
||||
|
||||
Reference in new issue
Block a user