mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
parent
c5e1d485be
commit
44a437562a
3 changed files with 5 additions and 6 deletions
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
|
@ -46,8 +46,7 @@ jobs:
|
|||
- name: Check with Lint
|
||||
run: ./gradlew lintGithubRelease
|
||||
- name: Build with Gradle
|
||||
#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
|
||||
run: ./gradlew assembleGithubRelease assembleLargeRelease assemblePlayRelease uploadBugsnagGithub-releaseMapping uploadBugsnagLarge-releaseMapping uploadBugsnagPlay-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 = true // disables upload of NDK mapping files
|
||||
uploadNdkMappings = false // disables upload of NDK mapping files
|
||||
reportBuilds = false // disables upload of build metadata
|
||||
overwrite = true
|
||||
builderName = "M66B"
|
||||
|
@ -737,7 +737,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"
|
||||
}
|
||||
|
||||
|
|
|
@ -407,9 +407,9 @@ public class Log {
|
|||
config.setAutoTrackSessions(false);
|
||||
|
||||
ErrorTypes etypes = new ErrorTypes();
|
||||
etypes.setAnrs(BuildConfig.DEBUG);
|
||||
etypes.setNdkCrashes(true);
|
||||
etypes.setUnhandledExceptions(true);
|
||||
etypes.setAnrs(BuildConfig.DEBUG);
|
||||
etypes.setNdkCrashes(false);
|
||||
config.setEnabledErrorTypes(etypes);
|
||||
config.setMaxBreadcrumbs(BuildConfig.PLAY_STORE_RELEASE ? 250 : 500);
|
||||
|
||||
|
|
Loading…
Reference in a new issue