43 lines
1.1 KiB
Prolog
43 lines
1.1 KiB
Prolog
# Flutter related
|
|
-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.** { *; }
|
|
-keep class io.flutter.embedding.** { *; }
|
|
|
|
# Mobile Scanner
|
|
-keep class com.google.mlkit.** { *; }
|
|
-keep class com.google.android.gms.** { *; }
|
|
|
|
# Geolocator
|
|
-keep class com.baseflow.geolocator.** { *; }
|
|
|
|
# Image Picker
|
|
-keep class io.flutter.plugins.imagepicker.** { *; }
|
|
|
|
# Permission Handler
|
|
-keep class com.baseflow.permissionhandler.** { *; }
|
|
|
|
# Keep native methods
|
|
-keepclasseswithmembernames class * {
|
|
native <methods>;
|
|
}
|
|
|
|
# Keep Parcelable implementations
|
|
-keep class * implements android.os.Parcelable {
|
|
public static final android.os.Parcelable$Creator *;
|
|
}
|
|
|
|
# General warnings
|
|
-dontwarn com.google.android.gms.**
|
|
-dontwarn com.google.mlkit.**
|
|
-dontwarn java.lang.invoke.**
|
|
|
|
# Keep annotations
|
|
-keepattributes *Annotation*
|
|
-keepattributes Signature
|
|
-keepattributes InnerClasses
|
|
-keepattributes EnclosingMethod
|