# 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 # Keep the JNDI classes -keep class javax.naming.** { *; } -keep class javax.naming.directory.** { *; } # Keep the Bouncy Castle classes -keep class org.bouncycastle.** { *; } # Keep the Conscrypt classes -keep class org.conscrypt.** { *; } # Keep the OpenJSSE classes -keep class org.openjsse.** { *; } # Keep specific classes from okhttp3.internal.platform -keep class okhttp3.internal.platform.BouncyCastlePlatform { *; } -keep class okhttp3.internal.platform.ConscryptPlatform { *; } -keep class okhttp3.internal.platform.OpenJSSEPlatform { *; } # Keep Nexgo SDK -keep class com.nexgo.** { *; } # Keep DDI interface (VERY IMPORTANT) -keep class com.xinguodu.ddiinterface.** { *; } # Keep printer implementations -keep class com.nexgo.oaf.apiv3.device.printer.** { *; } # Prevent method shrinking/optimization -dontoptimize -dontshrink -dontwarn com.xgd.smartpos.manager.app.UsageInfo -dontwarn com.xgd.smartpos.manager.app.UsageStats