I have an Android app with two Build Types. One is Debug and the other one is Release the issue I am facing is that my Debug Build is sending crash reports to Crashlytics and my Release Build is not sending any crash reports to the Crashlytics console and shows the loading icon as shown in the Screenshot.
The difference in both the variants is that one has Proguard enabled and other one doesn't.
Build Types in build.gradle(:app) look like this:
buildTypes {
debug {
debuggable true
firebaseCrashlytics {
mappingFileUploadEnabled false
}
}
release {
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig getSigningConfig()
firebaseCrashlytics {
mappingFileUploadEnabled false
}
}
}
I have followed the complete for setting up the crashlytics mentioned here: Firebase Crashlytics Guide
Here is the checklist
- Enabled Crashlytics From Console
- Added the Crashlytics Gradle plugin as a buildscript dependency in project level
build.gradlewith version:2.3.0- Applied gradle plugin in
build.gradle(:app)- Initilized Crashlytics
