# 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 ## Bouncy Castle Keep Rules to Fix PKCS12 Errors ## # The BouncyCastle provider is often used for Keystore operations on Android. # These rules ensure internal classes are not stripped or renamed. -keep class com.android.org.bouncycastle.** { *; } -dontwarn com.android.org.bouncycastle.** -keep class org.bouncycastle.** {*;} -keepclassmembers,allowobfuscation class * { @com.google.gson.annotations.SerializedName ; } # Hilt support for baselib -keep class com.utsmyanmar.baselib.di.** { *; } -keep class com.utsmyanmar.baselib.emv.EmvParamOperation { *; } -keep class com.utsmyanmar.baselib.emv.TerminalParamOperation { *; } -keep class com.utsmyanmar.baselib.repo.Repository { *; } # Keep all Hilt generated classes in baselib -keep class **_HiltModules { *; } -keep class **_HiltModules$* { *; } # Keep classes with @Inject annotations -keepclasseswithmembers class * { @javax.inject.Inject (...); } -keepclasseswithmembers class * { @javax.inject.Inject ; } -keepclasseswithmembers class * { @javax.inject.Inject ; }