update rules for printer crash
This commit is contained in:
parent
398a0d7986
commit
5b749073d0
18
app/proguard-rules.pro
vendored
18
app/proguard-rules.pro
vendored
@ -249,4 +249,20 @@
|
||||
# Keep annotation-based bindings
|
||||
-keep @javax.inject.Inject class * { *; }
|
||||
-keep @dagger.Provides class * { *; }
|
||||
-keep @dagger.Module class * { *; }
|
||||
-keep @dagger.Module class * { *; }
|
||||
|
||||
# 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
|
||||
18
paylibs/proguard-rules.pro
vendored
18
paylibs/proguard-rules.pro
vendored
@ -36,4 +36,20 @@
|
||||
# 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 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
|
||||
Loading…
Reference in New Issue
Block a user