kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
include debug vs release flag in bug reports
rodzic
743316d421
commit
a39f15c6c5
|
@ -21,6 +21,7 @@ class MeshUtilApplication : GeeksvilleApplication() {
|
||||||
if (!isEmulator && (!BuildConfig.DEBUG || !Debug.isDebuggerConnected())) {
|
if (!isEmulator && (!BuildConfig.DEBUG || !Debug.isDebuggerConnected())) {
|
||||||
val crashlytics = FirebaseCrashlytics.getInstance()
|
val crashlytics = FirebaseCrashlytics.getInstance()
|
||||||
crashlytics.setCrashlyticsCollectionEnabled(true)
|
crashlytics.setCrashlyticsCollectionEnabled(true)
|
||||||
|
crashlytics.setCustomKey("debug_build", BuildConfig.DEBUG)
|
||||||
|
|
||||||
// Attach to our exception wrapper
|
// Attach to our exception wrapper
|
||||||
Exceptions.reporter = { exception, _, _ ->
|
Exceptions.reporter = { exception, _, _ ->
|
||||||
|
|
Ładowanie…
Reference in New Issue