Skip to content

Commit

Permalink
Enable Crashlytics for Release only
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-golub committed May 14, 2020
1 parent 5bb29a0 commit e30b854
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Follow instructions at https://firebase.google.com/docs/android/setup and copy f
You can be added into Blackbox admins list by any user listed in *.blackbox\blackbox-admins.txt*. See full instructions [here](https://github.com/StackExchange/blackbox#how-to-indoctrinate-a-new-user-into-the-system).

## Create release package
1. Decrypt all the encrypted files by running `./blackbox_decrypt_all_files`
1. Decrypt all the encrypted files by running `blackbox_decrypt_all_files`
2. Execute `gradle assembleBetaRelease`
3. (optionally) Execute `blackbox_shred_all_files` to remove all the decrypted files

Expand Down
4 changes: 4 additions & 0 deletions diveboard/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ android {
signingConfig signingConfigs.release
minifyEnabled true
shrinkResources true
ext.enableCrashlytics = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
debug {
ext.enableCrashlytics = false
}
}

packagingOptions {
Expand Down
2 changes: 1 addition & 1 deletion diveboard/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.diveboard.mobile"
android:installLocation="preferExternal"
android:versionCode="400"
android:versionCode="403"
android:versionName="4.0.0">

<!--
Expand Down

0 comments on commit e30b854

Please sign in to comment.