diff --git a/modules/react-native-status/android/src/main/java/com/statusim/module/StatusPackage.java b/modules/react-native-status/android/src/main/java/com/statusim/module/StatusPackage.java index 806bf8c1f4..e88214b14a 100644 --- a/modules/react-native-status/android/src/main/java/com/statusim/module/StatusPackage.java +++ b/modules/react-native-status/android/src/main/java/com/statusim/module/StatusPackage.java @@ -16,7 +16,8 @@ public class StatusPackage implements ReactPackage { @Override public List createNativeModules(ReactApplicationContext reactContext) { List modules = new ArrayList<>(); - + System.loadLibrary("statusgoraw"); + System.loadLibrary("statusgo"); modules.add(new StatusModule(reactContext)); return modules; diff --git a/modules/react-native-status/android/src/main/java/com/statusim/module/StatusService.java b/modules/react-native-status/android/src/main/java/com/statusim/module/StatusService.java index ca90ef3f71..dd6d58c3d0 100644 --- a/modules/react-native-status/android/src/main/java/com/statusim/module/StatusService.java +++ b/modules/react-native-status/android/src/main/java/com/statusim/module/StatusService.java @@ -58,11 +58,6 @@ public class StatusService extends Service { sendReply(applicationMessenger, replyMessage); } - static { - System.loadLibrary("statusgoraw"); - System.loadLibrary("statusgo"); - } - @Nullable @Override public IBinder onBind(Intent intent) { @@ -73,7 +68,6 @@ public class StatusService extends Service { public void onCreate() { super.onCreate(); - } @Override