1.优化首次添加设备宠物没经纬度时,用手机位置显示在地图上

2.启用 R8 代码精简/混淆及资源裁剪
This commit is contained in:
2026-09-10 18:36:52 +08:00
parent 1a032383ce
commit 26cca6a454
13 changed files with 81 additions and 20 deletions

View File

@@ -29,8 +29,8 @@ android {
minSdkVersion 24
targetSdkVersion 35
versionCode 2501
versionName "2.5.1"
// versionName "2.5.1-Beta1"
// versionName "2.5.1"
versionName "2.5.1-Beta1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -97,6 +97,9 @@ android {
storePassword keyKeyStorePassword
keyAlias keyKeyAlias
keyPassword keyKeyAliasPassword
enableV1Signing = true
enableV2Signing = true
enableV3Signing = true // 推荐开启v3签名,Android 9+支持,防重打包更好
}
debug {
storeFile keyKeyStoreFile
@@ -302,8 +305,8 @@ dependencies {
// https://docs.jiguang.cn/jpush/client/Android/android_guide
// implementation 'cn.jiguang.sdk:jcore:3.1.2' // 此处以JCore 2.7.2 版本为例。
// implementation 'cn.jiguang.sdk:jpush:4.6.0' // 此处以JPush 4.0.0 版本为例
implementation 'cn.jiguang.sdk:jcore-google:5.3.7' // 此处以JCore 2.7.2 版本为例。
implementation 'cn.jiguang.sdk:jpush-google:6.0.7' // 此处以JPush 4.0.0 版本为例
implementation 'cn.jiguang.sdk:jcore-google:5.5.2' // 此处以JCore 2.7.2 版本为例。
implementation 'cn.jiguang.sdk:jpush-google:6.2.1' // 此处以JPush 4.0.0 版本为例
// 接入华为厂商
// implementation 'com.huawei.hms:push:6.1.0.300'
// implementation 'cn.jiguang.sdk.plugin:huawei:4.0.0'// 极光厂商插件版本与接入 JPush 版本保持一致,下同