Firebase-android-sdk: R8 configuration in Firebase Crashlytics

Created on 1 Jun 2020  ·  5Comments  ·  Source: firebase/firebase-android-sdk

What feature would you like to see?

Looking at the official guide, it's recommended to add the following configuration for "faster, obfuscated build with ProGuard".

-keep class com.google.firebase.crashlytics.** { *; }
-dontwarn com.google.firebase.crashlytics.**

Is this required also for R8? If yes, could it be bundled with the SDK?

crashlytics needs-attention

Most helpful comment

Hi @quiro91 - we've had these as part of the Crashlytics SDK docs for a long time, and it's definitely worth asking the question of whether they're still relevant! I'll raise this up to the team and see how we can best clean this up. Thanks!

All 5 comments

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Thanks for pointing that out. Seems like we should be able to add these to the SDK

Before adding it, are those actually required? I was testing it before and
it looks like everything works fine without those rules

On Mon, 01 Jun 2020, 16:59 Ashwin Raghav, notifications@github.com wrote:

Thanks for pointing that out. Seems like we should be able to add these to
the SDK


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-android-sdk/issues/1607#issuecomment-636940919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKFB4GSD2AYVYHGAMIKSODRUPF7JANCNFSM4NPWF3LA
.

Hi @quiro91 - we've had these as part of the Crashlytics SDK docs for a long time, and it's definitely worth asking the question of whether they're still relevant! I'll raise this up to the team and see how we can best clean this up. Thanks!

Hi folks - this has been cleaned up, and should be reflected in the official docs soon. Thanks for the report!

Was this page helpful?
0 / 5 - 0 ratings