-dontwarn javax.sound.** -dontwarn org.tritonus.** -dontwarn org.xiph.** -dontwarn android.support.v4.** -dontwarn android.net.** -ignorewarnings -keepattributes *Annotation* -keep com.mizuvoip.jvoip.** { *; } -keep public class com.google.vending.licensing.ILicensingService -keep public class com.android.vending.licensing.ILicensingService -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.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference -keep public class com.android.vending.licensing.ILicensingService -keep public class android.net.http.SslError -keep public class android.webkit.WebViewClient -dontwarn android.webkit.WebView -dontwarn android.net.http.SslError -dontwarn android.webkit.WebViewClient -keep public class com.mizuvoip.jvoip.* -keep public class com.mizuvoip.jvoip.** -keep public class com.mizuvoip.jvoip.SipStack{*;} -keep public class com.mizuvoip.jvoip.SIPNotificationListener{*;} -keep class com.mizuvoip.jvoip.SIPNotification{*;} -keep class com.mizuvoip.jvoip.SIPNotification** -keep class com.mizuvoip.jvoip.SIPNotification*$* -keep class com.mizuvoip.jvoip.SIPNotification.*$* {*;} -keep class com.mizuvoip.jvoip.SIPNotification$* {*;} -keepclassmembers class com.mizuvoip.jvoip.SIPNotification** {*;} -keepclassmembers class fqcn.of.javascript.interface.for.webview { public *; } # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native -keepclasseswithmembernames class * { native ; } # keep setters in Views so that animations can still work. # see http://proguard.sourceforge.net/manual/examples.html#beans -keepclassmembers public class * extends android.view.View { void set*(***); *** get*(); } -keep public class * extends android.view.View { public (android.content.Context); public (android.content.Context, android.util.AttributeSet); public (android.content.Context, android.util.AttributeSet, int); public void set*(...); } # We want to keep methods in Activity that could be used in the XML attribute onClick -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } -keepclasseswithmembernames class * { public (android.content.Context, android.util.AttributeSet); } -keepclasseswithmembernames class * { public (android.content.Context, android.util.AttributeSet, int); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } -keepclassmembers class **.R$* { public static ; } # The support library contains references to newer platform versions. # Don't warn about those in case this app is linking against an older # platform version. We know about them, and they are safe. -dontwarn android.support.** # Understand the @Keep support annotation. -keep class android.support.annotation.Keep -keep @android.support.annotation.Keep class * {*;} -keepclasseswithmembers class * { @android.support.annotation.Keep ; } -keepclasseswithmembers class * { @android.support.annotation.Keep ; } -keepclasseswithmembers class * { @android.support.annotation.Keep (...); }