Skip to content

Sentry Proguard/R8 rules when migrating from Crashlytics #2844

Answered by romtsn
G00fY2 asked this question in Q&A
Discussion options

You must be logged in to vote

I guess this rule is necessary, because there's no server-side deobfuscation of the exception titles on Firebase. This is mostly relevant if you have custom exception types that you'd like to keep from being obfuscated (all default types like IllegalArgumentException are part of Android/JDK already). Sentry tries to deobfuscate this server-side but there are some rough edges, so sometimes we also have to provide rules like this ourselves:

-keepnames class io.sentry.android.core.ApplicationNotResponding

-keepnames should be enough in this case as we only are interested in the name of the class.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@G00fY2
Comment options

@romtsn
Comment options

Answer selected by G00fY2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants