This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
vn-sales/proguard-rules.pro

49 lines
1.7 KiB
Prolog

# Mantener entidades que extiendan de las de la plataforma no ofuscadas.
# Añadimos aquí todas las entidades que usemos y se registren en el manifest.
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.support.v4.app.Fragment
-keep public class * extends android.app.Fragment
# Mantenemos todo lo que extienda de View
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...);
}
-dontwarn org.apache.http.**
-dontwarn org.apache.harmony.**
-dontwarn com.squareup.picasso.**
-dontwarn com.sun.mail.imap.protocol.**
-dontwarn javax.activation.**
-keep class org.apache.http.** { *; }
-keep class org.apache.harmony.** { *; }
-keep class com.squareup.picasso.** { *; }
-keep class com.sun.mail.imap.protocol.** { *; }
-keep class javax.activation.** { *; }
# Enumerandos, ya incluído en la plantilla
# Mantener todo lo relacionado con R, ya incluído en la plantilla.
# Entidades creadas con reflectividad (Class.forName)
# Añadimos nuestras clases e interfaces
#-keep public class mypackage.MyClass
#-keep public interface mypackage.MyInterface
#-keep public class * implements mypackage.MyInterface
# Previene warnings de android support
-dontwarn android.support.**
# Reduce el tamaño de la salida aun más
-repackageclasses ''
-allowaccessmodification