fix android6 jni library loading

This commit is contained in:
Adrian Tiberius 2016-09-10 18:08:25 +03:00
parent 64e00a0016
commit 2b54427a25
2 changed files with 2 additions and 7 deletions

View File

@ -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;

View File

@ -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