-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
71 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Flutter | ||
-keep class io.flutter.app.** { *; } | ||
-keep class io.flutter.plugin.** { *; } | ||
-keep class io.flutter.util.** { *; } | ||
-keep class io.flutter.view.** { *; } | ||
-keep class io.flutter.** { *; } | ||
-keep class io.flutter.plugins.** { *; } | ||
|
||
# Retrofit | ||
-keepattributes Signature | ||
-keepattributes Exceptions | ||
|
||
# Other | ||
-keepattributes *Annotation* | ||
-keepattributes SourceFile, LineNumberTable | ||
|
||
# Logging | ||
-assumenosideeffects class android.util.Log { | ||
public static *** d(...); | ||
public static *** v(...); | ||
public static *** i(...); | ||
public static *** w(...); | ||
public static *** e(...); | ||
public static *** wtf(...); | ||
} | ||
|
||
-assumenosideeffects class io.flutter.Log { | ||
public static *** d(...); | ||
public static *** v(...); | ||
public static *** w(...); | ||
public static *** e(...); | ||
} | ||
|
||
-assumenosideeffects class java.util.logging.Level { | ||
public static *** w(...); | ||
public static *** d(...); | ||
public static *** v(...); | ||
} | ||
|
||
-assumenosideeffects class java.util.logging.Logger { | ||
public static *** w(...); | ||
public static *** d(...); | ||
public static *** v(...); | ||
} | ||
|
||
# Removes third parties logging | ||
-assumenosideeffects class org.slf4j.Logger { | ||
public *** trace(...); | ||
public *** debug(...); | ||
public *** info(...); | ||
public *** warn(...); | ||
public *** error(...); | ||
} |
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