-
-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Missing Proguard rules for R8 in full mode (#1196)
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
-keep @com.parse.ParseClassName class com.parse.* | ||
-keepnames class com.parse.** { *; } | ||
-keepclassmembers public class * extends com.parse.** { | ||
public <init>(...); | ||
} | ||
|
||
# Required for Parse | ||
-keepattributes *Annotation* | ||
-keepattributes Signature | ||
# https://github.com/square/okio#proguard | ||
-dontwarn okio.** | ||
|
||
# Retracing stacktraces | ||
-keepattributes LineNumberTable,SourceFile | ||
-renamesourcefileattribute SourceFile |