1.移除ACCESS_MOCK_LOCATION 权限
2.MMKV启用AES-256加密保存 3.修复导出组件和 Deep Links的处理建议 4.加入混淆代码 5.删除蓝牙透传RAW TCP(socket)
This commit is contained in:
47
easyPhotos/proguard-rules.pro
vendored
47
easyPhotos/proguard-rules.pro
vendored
@@ -1,25 +1,24 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in C:\androidSpace\android\sdk/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
# ============================================================
|
||||
# easyPhotos 自身的混淆规则(仅当本模块 minifyEnabled=true 时生效,当前默认 false)
|
||||
# 实际包名:com.huantansheng.easyphotos
|
||||
# ============================================================
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# 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 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.**
|
||||
|
||||
Reference in New Issue
Block a user