fix android6 jni library loading
This commit is contained in:
parent
64e00a0016
commit
2b54427a25
|
@ -16,7 +16,8 @@ public class StatusPackage implements ReactPackage {
|
|||
@Override
|
||||
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
||||
List<NativeModule> modules = new ArrayList<>();
|
||||
|
||||
System.loadLibrary("statusgoraw");
|
||||
System.loadLibrary("statusgo");
|
||||
modules.add(new StatusModule(reactContext));
|
||||
|
||||
return modules;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue