diff --git a/android/app/build.gradle b/android/app/build.gradle index e62ea9a70d..878772d932 100755 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -218,6 +218,8 @@ android { } dependencies { + implementation 'com.facebook.soloader:soloader:0.9.0+' + implementation fileTree(dir: "libs", include: ["*.jar"]) //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules diff --git a/android/app/src/main/java/no/mittatb/MainApplication.java b/android/app/src/main/java/no/mittatb/MainApplication.java index 4d203f96cb..fdb24ccca3 100644 --- a/android/app/src/main/java/no/mittatb/MainApplication.java +++ b/android/app/src/main/java/no/mittatb/MainApplication.java @@ -69,6 +69,8 @@ private void tryInitializeBugsnag() { if (!TextUtils.isEmpty(bugsnagKey)) { config.setReleaseStage(bugsnagReleaseStage); } + SoLoader.loadLibrary("bugsnag-plugin-android-anr"); + SoLoader.loadLibrary("bugsnag-plugin-android-ndk"); Bugsnag.start(this, config); } } catch (Exception e) {