Report NDK crashes

pull/214/head
M66B 12 months ago
parent 2462d4e8e2
commit d13d31950d

@ -44,7 +44,8 @@ jobs:
- name: Check with Lint
run: ./gradlew lintGithubRelease
- name: Build with Gradle
run: ./gradlew assembleGithubRelease assembleLargeRelease assemblePlayRelease uploadBugsnagGithub-releaseMapping uploadBugsnagLarge-releaseMapping uploadBugsnagPlay-releaseMapping
#https://docs.bugsnag.com/build-integrations/gradle/#manual-upload
run: ./gradlew assembleGithubRelease assembleLargeRelease assemblePlayRelease uploadBugsnagGithub-releaseMapping uploadBugsnagLarge-releaseMapping uploadBugsnagPlay-releaseMapping uploadBugsnagNdkGithub-releaseMapping uploadBugsnagNdkLarge-releaseMapping uploadBugsnagNdkPlay-releaseMapping
- name: Upload to BitBucket
run: |
./gradlew upload -Ptarget=play-preview

@ -357,7 +357,7 @@ android {
bugsnag {
// https://docs.bugsnag.com/build-integrations/gradle/
uploadJvmMappings = false // disables upload of ProGuard/DexGuard/R8 mapping files
uploadNdkMappings = false // disables upload of NDK mapping files
uploadNdkMappings = true // disables upload of NDK mapping files
reportBuilds = false // disables upload of build metadata
overwrite = true
builderName = "M66B"
@ -736,7 +736,7 @@ dependencies {
// https://mvnrepository.com/artifact/com.bugsnag/bugsnag-android
implementation("com.bugsnag:bugsnag-android:$bugsnag_version") {
exclude group: "com.bugsnag", module: "bugsnag-plugin-android-anr"
exclude group: "com.bugsnag", module: "bugsnag-plugin-android-ndk"
//exclude group: "com.bugsnag", module: "bugsnag-plugin-android-ndk"
exclude group: "com.bugsnag", module: "bugsnag-android-core"
}

@ -408,7 +408,8 @@ public class Log {
ErrorTypes etypes = new ErrorTypes();
etypes.setAnrs(BuildConfig.DEBUG);
etypes.setNdkCrashes(false);
etypes.setNdkCrashes(true);
etypes.setUnhandledExceptions(true);
config.setEnabledErrorTypes(etypes);
config.setMaxBreadcrumbs(BuildConfig.PLAY_STORE_RELEASE ? 250 : 500);

Loading…
Cancel
Save