version:1.5.6

fix:修复app升级
update:40h,50minipro
This commit is contained in:
2023-08-26 15:31:59 +08:00
parent 888c13651a
commit bbd4895bcb
40 changed files with 287 additions and 1736 deletions

View File

@@ -1,6 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: "com.tencent.android.tpns"
def appName() {
return "CubeZYAppStore"
@@ -18,8 +17,8 @@ android {
minSdkVersion 26
targetSdkVersion 29
versionCode 23
versionName "1.3.1"
versionCode 48
versionName "1.5.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -28,11 +27,6 @@ android {
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a'
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
}
manifestPlaceholders = [
XG_ACCESS_ID : "1500033122",
XG_ACCESS_KEY: "A5QBQVQ7KLQD",
]
}
compileOptions {
@@ -54,6 +48,14 @@ android {
v2SigningEnabled false
}
mtk12 {
storeFile file("keystore/mtkAndroid12.keystore")
storePassword "123456"
keyAlias "mtk12"
keyPassword "123456"
v2SigningEnabled false
}
cube8183 {
storeFile file("keystore/TeclastMTK12.jks")
storePassword "123456"
@@ -70,6 +72,15 @@ android {
v2SigningEnabled false
}
Teclast8515 {
storeFile file("keystore/Teclast8515.keystore")
storePassword "123456"
keyAlias "Teclast8515"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
iPlay50SE {
storeFile file("keystore/iPlay50SE.keystore")
storePassword "123456"
@@ -96,6 +107,23 @@ android {
keyPassword "android"
v2SigningEnabled false
}
iPlay50miniPro {
storeFile file("keystore/iPlay50miniPro.jks")
storePassword "123456"
keyAlias "iplay50minipro"
keyPassword "123456"
v2SigningEnabled false
}
iPlay40H {
storeFile file("keystore/iPlay40h.keystore")
storePassword "android"
keyAlias "platform"
keyPassword "android"
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
@@ -127,6 +155,34 @@ android {
signingConfig signingConfigs.teclast8183
}
Teclast8515Debug.initWith(debug)
Teclast8515Debug {
buildConfigField "String", "platform", '"8515"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.Teclast8515
}
Teclast8515Release.initWith(release)
Teclast8515Release {
buildConfigField "String", "platform", '"8515"'
signingConfig signingConfigs.Teclast8515
}
iPlay50ProDebug.initWith(debug)
iPlay50ProDebug {
buildConfigField "String", "platform", '"MTK"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.mtk12
}
iPlay50ProRelease.initWith(release)
iPlay50ProRelease {
buildConfigField "String", "platform", '"MTK"'
signingConfig signingConfigs.mtk12
}
iPlay50SEDebug.initWith(debug)
iPlay50SEDebug {
buildConfigField "String", "platform", '"ipaly50SE"'
@@ -169,6 +225,34 @@ android {
signingConfig signingConfigs.iPlay50mini
}
iPlay50miniProDebug.initWith(debug)
iPlay50miniProDebug {
buildConfigField "String", "platform", '"miniG99"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.iPlay50miniPro
}
iPlay50miniProRelease.initWith(release)
iPlay50miniProRelease {
buildConfigField "String", "platform", '"miniG99"'
signingConfig signingConfigs.iPlay50miniPro
}
iPlay40HDebug.initWith(debug)
iPlay40HDebug {
buildConfigField "String", "platform", '"iplay40h"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.iPlay50mini
}
iPlay40HRelease.initWith(release)
iPlay40HRelease {
buildConfigField "String", "platform", '"iplay40h"'
signingConfig signingConfigs.iPlay50mini
}
zhanRuiDebug.initWith(debug)
zhanRuiDebug {
debuggable true
@@ -225,17 +309,23 @@ android {
sourceSets {
Cube8183Debug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
Teclast8183Debug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
Teclast8515Debug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
iPlay50ProDebug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
iPlay50SEDebug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
iPlay50miniDebug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
iPlay5013Debug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
iPlay50miniProDebug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
zhanRuiDebug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
debug { manifest.srcFile 'src/debug/AndroidManifest.xml' }
Cube8183Release { manifest.srcFile 'src/main/AndroidManifest.xml' }
Teclast8183Release { manifest.srcFile 'src/main/AndroidManifest.xml' }
Teclast8515Release { manifest.srcFile 'src/main/AndroidManifest.xml' }
iPlay50ProRelease { manifest.srcFile 'src/main/AndroidManifest.xml' }
iPlay50SERelease { manifest.srcFile 'src/main/AndroidManifest.xml' }
iPlay50miniRelease { manifest.srcFile 'src/main/AndroidManifest.xml' }
iPlay5013Release { manifest.srcFile 'src/main/AndroidManifest.xml' }
iPlay50miniProRelease { manifest.srcFile 'src/main/AndroidManifest.xml' }
zhanRuiRelease { manifest.srcFile 'src/main/AndroidManifest.xml' }
release { manifest.srcFile 'src/main/AndroidManifest.xml' }
}
@@ -294,10 +384,6 @@ dependencies {
implementation 'com.google.zxing:core:3.5.0'
//MMKV
implementation 'com.tencent:mmkv-static:1.2.13'
//腾讯移动推送 TPNS
implementation 'com.tencent.tpns:tpns:1.3.2.0-release'
//阿里云推送
implementation 'com.aliyun.ams:alicloud-android-push:3.8.0'
//banner图
implementation 'com.zhpan.library:bannerview:2.6.4'
//更换字体框架