mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 17:54:32 +00:00
fix android6 jni library loading
This commit is contained in:
parent
64e00a0016
commit
2b54427a25
@ -16,7 +16,8 @@ public class StatusPackage implements ReactPackage {
|
|||||||
@Override
|
@Override
|
||||||
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
||||||
List<NativeModule> modules = new ArrayList<>();
|
List<NativeModule> modules = new ArrayList<>();
|
||||||
|
System.loadLibrary("statusgoraw");
|
||||||
|
System.loadLibrary("statusgo");
|
||||||
modules.add(new StatusModule(reactContext));
|
modules.add(new StatusModule(reactContext));
|
||||||
|
|
||||||
return modules;
|
return modules;
|
||||||
|
@ -58,11 +58,6 @@ public class StatusService extends Service {
|
|||||||
sendReply(applicationMessenger, replyMessage);
|
sendReply(applicationMessenger, replyMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
|
||||||
System.loadLibrary("statusgoraw");
|
|
||||||
System.loadLibrary("statusgo");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public IBinder onBind(Intent intent) {
|
public IBinder onBind(Intent intent) {
|
||||||
@ -73,7 +68,6 @@ public class StatusService extends Service {
|
|||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
|
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user