Files
Abbidot_Android/easyPhotos/proguard-rules.pro
yezhiqiu a25e4a093d 1.移除ACCESS_MOCK_LOCATION 权限
2.MMKV启用AES-256加密保存
3.修复导出组件和 Deep Links的处理建议
4.加入混淆代码
5.删除蓝牙透传RAW TCP(socket)
2026-07-14 11:08:43 +08:00

25 lines
1.1 KiB
Prolog
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# easyPhotos 自身的混淆规则(仅当本模块 minifyEnabled=true 时生效,当前默认 false
# 实际包名com.huantansheng.easyphotos
# ============================================================
# 完全不混淆主包
-keep class com.huantansheng.easyphotos.** { *; }
-keepclassmembers class com.huantansheng.easyphotos.** {
public <init>(...);
<fields>;
<methods>;
}
# 依赖库也不混淆
-keep class com.davemorrissey.labs.subscaleview.** { *; }
-keep class com.github.chrisbanes.photoview.** { *; }
-keepclassmembers class * extends android.view.View {
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public <init>(android.content.Context, android.util.AttributeSet, int, int);
}
-keepattributes Signature,*Annotation*,InnerClasses,EnclosingMethod,RuntimeVisibleAnnotations,SourceFile,LineNumberTable
-dontwarn com.huantansheng.easyphotos.**
-dontwarn com.davemorrissey.labs.subscaleview.**
-dontwarn com.github.chrisbanes.photoview.**