# Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: # -keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; # } # Uncomment this to preserve the line number information for # debugging stack traces. # -keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. # -renamesourcefileattribute SourceFile # -dontoptimize # -dontobfuscate # -dontshrink # -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* -optimizationpasses 3 -allowaccessmodification # -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers -dontpreverify # -verbose -ignorewarnings -repackageclasses '' # -printmapping out.map -dontwarn javax.sound.** -dontwarn org.tritonus.** -dontwarn org.xiph.** -dontwarn android.support.** -dontwarn android.support.v4.** -dontnote android.net.http.* -dontnote org.apache.commons.* -dontwarn android.net.** -keepattributes *Annotation* -keep com.mizuvoip.jvoip.** { *; } -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 androidx.fragment.app.Fragment -keep public class * extends android.support.v4.app.Fragment -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 class com.mizuvoip.jvoip.SipStack{*;} # -keep class com.mizuvoip.jvoip.SipStack** # -keep class com.mizuvoip.jvoip.SipStack**{*;} # -keep class com.mizuvoip.jvoip.SIPNotificationListener{*;} # -keep class com.mizuvoip.jvoip.SIPNotificationListener** # -keep class com.mizuvoip.jvoip.SIPNotificationListener**{*;} # -keep class com.mizuvoip.jvoip.SIPNotification{*;} # -keep class com.mizuvoip.jvoip.SIPNotification** # -keep class com.mizuvoip.jvoip.SIPNotification**{*;} # -keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; # } -keepparameternames -keeppackagenames * -keepattributes Signature,Exceptions,PermittedSubclasses,Deprecated,InnerClasses, *Annotation* # -keep public class * { # public protected *; # } # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native # -keepclasseswithmembernames class * { # native ; # } -keepclasseswithmembernames,includedescriptorclasses 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 (...); }