version:3.4.8

fix:
update:修改主页ui
This commit is contained in:
2026-03-03 16:58:44 +08:00
parent b8b951650b
commit d62f7ea042
91 changed files with 8580 additions and 1279 deletions

View File

@@ -1,5 +1,4 @@
apply plugin: 'com.android.application'
apply plugin: "com.tencent.android.tpns"
static def appName() {
return "FLYSN"
@@ -78,8 +77,8 @@ android {
official {
flavorDimensions "default"
versionCode 87
versionName "3.4.7"
versionCode 88
versionName "3.4.8"
}
}
@@ -208,7 +207,7 @@ android {
MT6789Debug.initWith(debug)
MT6789Debug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "63e2c211ad3bf161969582a58cf3c598"
]
buildConfigField "String", "platform", '"G12NL"'
versionNameSuffix "-debug"
@@ -219,7 +218,7 @@ android {
MT6789Release.initWith(release)
MT6789Release {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "63e2c211ad3bf161969582a58cf3c598"
]
buildConfigField "String", "platform", '"G12NL"'
signingConfig signingConfigs.MT6789
@@ -228,7 +227,7 @@ android {
Huaruian8768Debug.initWith(debug)
Huaruian8768Debug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "a4d58ed320000359544e99e1189438c7"
]
buildConfigField "String", "platform", '"G10J"'
versionNameSuffix "-debug"
@@ -239,7 +238,7 @@ android {
Huaruian8768Release.initWith(release)
Huaruian8768Release {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "a4d58ed320000359544e99e1189438c7"
]
buildConfigField "String", "platform", '"G10J"'
signingConfig signingConfigs.Huaruian8768
@@ -248,7 +247,7 @@ android {
iPlay50SEDebug.initWith(debug)
iPlay50SEDebug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "adfc5099b8305d05bff03dcfd6579640"
]
buildConfigField "String", "platform", '"ipaly50"'
versionNameSuffix "-debug"
@@ -259,7 +258,7 @@ android {
iPlay50SERelease.initWith(release)
iPlay50SERelease {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "adfc5099b8305d05bff03dcfd6579640"
]
buildConfigField "String", "platform", '"ipaly50"'
signingConfig signingConfigs.iPlay50SE
@@ -268,7 +267,7 @@ android {
unisocDebug.initWith(debug)
unisocDebug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "a45f52890415873d7fe97731b9ff27a7"
]
buildConfigField "String", "platform", '"ZhanRui"'
versionNameSuffix "-debug"
@@ -279,7 +278,7 @@ android {
unisocRelease.initWith(debug)
unisocRelease {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "a45f52890415873d7fe97731b9ff27a7"
]
buildConfigField "String", "platform", '"ZhanRui"'
debuggable true
@@ -289,7 +288,7 @@ android {
mtk11Debug.initWith(debug)
mtk11Debug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "2faeb0552117ccbbeb2fd63afd5d71f3"
]
buildConfigField "String", "platform", '"MTK"'
versionNameSuffix "-debug"
@@ -300,7 +299,7 @@ android {
mtk11Release.initWith(release)
mtk11Release {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "2faeb0552117ccbbeb2fd63afd5d71f3"
]
buildConfigField "String", "platform", '"MTK"'
signingConfig signingConfigs.mtkAndroid11
@@ -309,7 +308,7 @@ android {
teclastMTKDebug.initWith(debug)
teclastMTKDebug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "4ba0125745b17d0c73a6638dcda43d2f"
]
buildConfigField "String", "platform", '"T30PRO"'
versionNameSuffix "-debug"
@@ -320,7 +319,7 @@ android {
teclastMTKRelease.initWith(release)
teclastMTKRelease {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "4ba0125745b17d0c73a6638dcda43d2f"
]
buildConfigField "String", "platform", '"T30PRO"'
signingConfig signingConfigs.teclastMTK
@@ -329,7 +328,7 @@ android {
G6Debug.initWith(debug)
G6Debug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "418069ea951c42cdaa39a4d2015f23b9"
]
buildConfigField "String", "platform", '"G6"'
versionNameSuffix "-debug"
@@ -340,7 +339,7 @@ android {
G6Release.initWith(release)
G6Release {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "418069ea951c42cdaa39a4d2015f23b9"
]
buildConfigField "String", "platform", '"G6"'
signingConfig signingConfigs.G10P
@@ -349,7 +348,7 @@ android {
G13Debug.initWith(debug)
G13Debug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "418069ea951c42cdaa39a4d2015f23b9"
]
buildConfigField "String", "platform", '"G13"'
versionNameSuffix "-debug"
@@ -360,7 +359,7 @@ android {
G13Release.initWith(release)
G13Release {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "418069ea951c42cdaa39a4d2015f23b9"
]
buildConfigField "String", "platform", '"G13"'
signingConfig signingConfigs.G10P
@@ -369,7 +368,7 @@ android {
Teclast8515Debug.initWith(debug)
Teclast8515Debug {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "29db21d44be7ae2cadb6ea7189ebec72"
]
buildConfigField "String", "platform", '"8515"'
versionNameSuffix "-debug"
@@ -380,7 +379,7 @@ android {
Teclast8515Release.initWith(release)
Teclast8515Release {
manifestPlaceholders = [
AK: "7IubK1Ugeuxga4KKC5VQyjTeQlExsYZq"
AMAP_KEY: "29db21d44be7ae2cadb6ea7189ebec72"
]
buildConfigField "String", "platform", '"8515"'
signingConfig signingConfigs.Teclast8515
@@ -390,7 +389,7 @@ android {
teclastUnisocdebug.initWith(zhanRuiDebug)
teclastUnisocdebug {
manifestPlaceholders = [
AK: "u5qGsILQ7qlXI8GDv6T6cGl8IWMtsPSu"
AMAP_KEY: "ef180363f53f3ea07af84be26b797f5d"
]
buildConfigField "String", "platform", '"M40SE"'
versionNameSuffix "-debug"
@@ -401,7 +400,7 @@ android {
teclastUnisocrelease.initWith(zhanRuiDebug)
teclastUnisocrelease {
manifestPlaceholders = [
AK: "u5qGsILQ7qlXI8GDv6T6cGl8IWMtsPSu"
AMAP_KEY: "ef180363f53f3ea07af84be26b797f5d"
]
buildConfigField "String", "platform", '"M40SE"'
signingConfig signingConfigs.teclastUnisoc
@@ -410,7 +409,7 @@ android {
teclastUnisocUserdebug.initWith(zhanRuiDebug)
teclastUnisocUserdebug {
manifestPlaceholders = [
AK: "u5qGsILQ7qlXI8GDv6T6cGl8IWMtsPSu"
AMAP_KEY: "a89c464a7e619791d65bf683602b9e30"
]
buildConfigField "String", "platform", '"M40SE"'
versionNameSuffix "-debug"
@@ -421,7 +420,7 @@ android {
zhanRuiDebug.initWith(debug)
zhanRuiDebug {
manifestPlaceholders = [
AK: "EiqcGW9LWDvfMKl7mZxUtt1UkNKpdQI5"
AMAP_KEY: "63d3bf78053d530926309bb25e007e1a"
]
buildConfigField "String", "platform", '"ZhanRui"'
versionNameSuffix "-debug"
@@ -432,7 +431,7 @@ android {
zhanRuiRelease.initWith(release)
zhanRuiRelease {
manifestPlaceholders = [
AK: "EiqcGW9LWDvfMKl7mZxUtt1UkNKpdQI5"
AMAP_KEY: "63d3bf78053d530926309bb25e007e1a"
]
buildConfigField "String", "platform", '"ZhanRui"'
signingConfig signingConfigs.zhanRui
@@ -441,7 +440,7 @@ android {
zhanRuiUserdebugReleas.initWith(debug)
zhanRuiUserdebugReleas {
manifestPlaceholders = [
AK: "EiqcGW9LWDvfMKl7mZxUtt1UkNKpdQI5"
AMAP_KEY: "4ebbc3a36c028f6749fed5257f17c77e"
]
buildConfigField "String", "platform", '"ZhanRui"'
signingConfig signingConfigs.zhanRuiUserdebug
@@ -450,6 +449,9 @@ android {
debug {
buildConfigField "String", "platform", '"MTK"'
versionNameSuffix "-debug"
manifestPlaceholders = [
AMAP_KEY: "9b4bdfa60aaacaf490356fc2e4e3ad0a"
]
//Zipalign优化
zipAlignEnabled true
minifyEnabled false
@@ -457,7 +459,7 @@ android {
applicationVariants.all { variant ->
variant.outputs.each { output ->
if (outputFile != null) {
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${buildType.name}.apk"
output.outputFileName = fileName
}
}
@@ -466,6 +468,9 @@ android {
release {
buildConfigField "String", "platform", '"MTK"'
manifestPlaceholders = [
AMAP_KEY: "9b4bdfa60aaacaf490356fc2e4e3ad0a"
]
//Zipalign优化
zipAlignEnabled true
//混淆
@@ -479,7 +484,7 @@ android {
variant.outputs.each { output ->
def outputFile = ""
if (outputFile != null) {
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${buildType.name}.apk"
output.outputFileName = new File(outputFile, fileName)
}
}
@@ -499,6 +504,8 @@ dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly files('libs/framework.jar')
implementation project(path: ':FlycoTabLayoutZ_Lib')
//implementation 'com.android.support:multidex:1.0.3'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
@@ -510,7 +517,7 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
//okhttp
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.squareup.okhttp3:okhttp:4.8.1'
//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
@@ -524,6 +531,10 @@ dependencies {
implementation 'com.trello.rxlifecycle4:rxlifecycle-components:4.0.2'
implementation 'com.trello.rxlifecycle4:rxlifecycle-components-preference:4.0.2'
implementation 'com.trello.rxlifecycle4:rxlifecycle-android-lifecycle:4.0.2'
implementation 'com.jakewharton.rxbinding4:rxbinding:4.0.0'
implementation 'com.jeremyliao:live-event-bus-x:1.7.3'
//Google
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.google.zxing:core:3.5.0'
@@ -541,18 +552,19 @@ dependencies {
implementation 'com.tencent:mmkv-static:1.2.13'
//bugly
implementation 'com.tencent.bugly:crashreport:4.1.9.2'
//腾讯移动推送 TPNS
implementation 'com.tencent.tpns:tpns:1.4.4.2-release'
// //腾讯移动推送 TPNS
// implementation 'com.tencent.tpns:tpns:1.4.4.2-release'
//阿里云推送
implementation 'com.aliyun.ams:alicloud-android-push:3.8.0'
//百度地图
implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.1.8'
// //百度地图
// implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.1.8'
//高德地图定位
implementation 'com.amap.api:location:5.1.0'
//工具类
implementation 'com.blankj:utilcodex:1.31.0'
//autosize会改变第三方view的大小
//https://github.com/JessYanCoding/AndroidAutoSize
//implementation 'me.jessyan:autosize:1.2.1'
implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
implementation 'com.github.chrisbanes:PhotoView:2.0.0'
//沉浸状态栏
implementation 'com.gitee.zackratos:UltimateBarX:0.8.0'
@@ -561,6 +573,8 @@ dependencies {
// implementation 'com.king.view:splitedittext:1.0.0'
//动态权限框架
// implementation 'com.hjq:xxpermissions:6.0'
// 吐司框架https://github.com/getActivity/Toaster
implementation 'com.github.getActivity:Toaster:12.6'
}
preBuild {