1.移除ACCESS_MOCK_LOCATION 权限
2.MMKV启用AES-256加密保存 3.修复导出组件和 Deep Links的处理建议 4.加入混淆代码 5.删除蓝牙透传RAW TCP(socket)
This commit is contained in:
@@ -26,11 +26,11 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.abbidot.tracker"
|
||||
minSdkVersion 23
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 35
|
||||
versionCode 2215
|
||||
// versionName "2.2.15"
|
||||
versionName "2.2.15-Beta1"
|
||||
versionCode 2216
|
||||
// versionName "2.2.16"
|
||||
versionName "2.2.16-Beta1"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@@ -47,6 +47,7 @@ android {
|
||||
BUGLY_KEY : getKey("BUGLY_KEY"),
|
||||
MAPBOX_ACCESS_TOKEN: getKey("MAPBOX_ACCESS_TOKEN"),
|
||||
HTTP_REQUEST_KEY : getKey("HTTP_REQUEST_KEY"),
|
||||
CARD_RSA_KEY : getKey("CARD_RSA_KEY"),
|
||||
|
||||
JPUSH_PKGNAME : "${applicationId}",
|
||||
JPUSH_APPKEY : "c968a96f76fc4f52e0f764ee", //JPush 上注册的包名对应的 Appkey.
|
||||
@@ -122,12 +123,12 @@ android {
|
||||
debuggable false
|
||||
jniDebuggable false
|
||||
// 移除无用的资源文件
|
||||
shrinkResources false
|
||||
shrinkResources true
|
||||
// ZipAlign 优化
|
||||
zipAlignEnabled true
|
||||
// 设置混淆
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
@@ -138,6 +139,10 @@ android {
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '17'
|
||||
freeCompilerArgs += [
|
||||
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
]
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
|
||||
Reference in New Issue
Block a user