Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: android builder firebase proguard keep rules #3766

Merged
merged 1 commit into from
Nov 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3167,11 +3167,8 @@ public void usesClassMethod(String cls, String method) {

String keepOverride = request.getArg("android.proguardKeepOverride", "Exceptions, InnerClasses, Signature, Deprecated, SourceFile, LineNumberTable, *Annotation*, EnclosingMethod");

String keepFirebase = "";
if (newFirebaseMessaging) {
keepFirebase = "-keep class com.google.android.gms.** { *; }\n\n" +
"-keep class com.google.firebase.** { *; }\n\n";
}
String keepFirebase = "-keep class com.google.android.gms.** { *; }\n\n" +
"-keep class com.google.firebase.** { *; }\n\n";
// workaround broken optimizer in proguard
String proguardConfigOverride = "-dontusemixedcaseclassnames\n"
+ "-dontskipnonpubliclibraryclasses\n"
Expand Down
Loading