Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Crashlytics crash reports are not de-obfuscated after publishing app as a app bundle

I recently publish my app to play store as a app bundle and everything is working fine except for above mentioned issue. I have added bellow pro-guard rules in my app and it was working fine with my old builds.

#CrashLitics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception

Is there any addition pro-guard rules to include when publishing as a app bundle?

like image 374
Chathuranga Shan Jayarathna Avatar asked Oct 23 '25 00:10

Chathuranga Shan Jayarathna


1 Answers

We had a similar issue. With release build from Android Studio, we were getting de-obfuscated crash logs but with CI it was not working. While observing build logs we realized that Task :app:uploadCrashlyticsMappingFileRelease was never called while generating builds from CI. So we updated our build command like this

./gradlew clean :app:bundleRelease :app:uploadCrashlyticsMappingFileRelease

And then everything worked as expected.

like image 58
prashant17 Avatar answered Oct 25 '25 14:10

prashant17



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!