mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
fixed fresko and amplitude
This commit is contained in:
parent
45cd93d40a
commit
63e2e9b354
1 changed files with 36 additions and 0 deletions
36
Habitica/proguard-rules.pro
vendored
36
Habitica/proguard-rules.pro
vendored
|
|
@ -88,10 +88,46 @@
|
|||
-keep class com.crashlytics.** { *; }
|
||||
-dontwarn com.crashlytics.**
|
||||
|
||||
#fresko
|
||||
# Keep our interfaces so they can be used by other ProGuard rules.
|
||||
# See http://sourceforge.net/p/proguard/bugs/466/
|
||||
-keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
|
||||
|
||||
# Do not strip any method/class that is annotated with @DoNotStrip
|
||||
-keep @com.facebook.common.internal.DoNotStrip class *
|
||||
-keepclassmembers class * {
|
||||
@com.facebook.common.internal.DoNotStrip *;
|
||||
}
|
||||
|
||||
# Keep native methods
|
||||
-keepclassmembers class * {
|
||||
native <methods>;
|
||||
}
|
||||
# Keep our interfaces so they can be used by other ProGuard rules.
|
||||
# See http://sourceforge.net/p/proguard/bugs/466/
|
||||
-keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
|
||||
|
||||
# Do not strip any method/class that is annotated with @DoNotStrip
|
||||
-keep @com.facebook.common.internal.DoNotStrip class *
|
||||
-keepclassmembers class * {
|
||||
@com.facebook.common.internal.DoNotStrip *;
|
||||
}
|
||||
|
||||
# Keep native methods
|
||||
-keepclassmembers class * {
|
||||
native <methods>;
|
||||
}
|
||||
#end fresko
|
||||
|
||||
#amplitude
|
||||
-keep class com.google.android.gms.ads.** { *; }
|
||||
#end amplitude
|
||||
|
||||
#add warnings here, warnings in proguard is normal
|
||||
-dontwarn javax.annotation.**
|
||||
-dontwarn com.squareup.picasso.**
|
||||
-dontwarn okio.**
|
||||
-dontwarn rx.**
|
||||
-dontwarn com.android.volley.toolbox.**
|
||||
#-ignorewarnings
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue