Disable Acra crash logs in dev builds

This commit is contained in:
arkon
2021-01-27 09:17:40 -05:00
parent 426ed7308b
commit 3ee652b61a
2 changed files with 12 additions and 6 deletions

View File

@@ -73,7 +73,9 @@ open class App : Application(), LifecycleObserver {
}
protected open fun setupAcra() {
ACRA.init(this)
if (BuildConfig.FLAVOR != "dev") {
ACRA.init(this)
}
}
protected open fun setupNotificationChannels() {