Well, Found out that the issue is related to this flag here:
firebaseCrashlytics {
mappingFileUploadEnabled false
}
In the case of Debug
build Proguard is not enabled so the mapping file is not created as well so there is no need to upload the mappings file.
But in the case of Release
build, I have enabled the proguard
So, technically I need to enable the mappings file to be uploaded so that crashlytics reports can be sent to the console and properly reported.
Changing the above code in Release
to this fixed the issue.
firebaseCrashlytics {
mappingFileUploadEnabled true
}
Got clue from the documentation here
After Fixing that issue I came across another issue while creating the signed apk The Host name may not be empty
and you can follow this for the fix.
Cheers :)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…