1.0.7 主页优化,加入心跳

This commit is contained in:
2023-10-30 09:41:18 +08:00
parent d218c7edea
commit 8513b3fa6a
72 changed files with 2805 additions and 304 deletions

View File

@@ -16,8 +16,8 @@ android {
applicationId "com.uiuipad.find"
minSdkVersion 24
targetSdkVersion 29
versionCode 3
versionName "1.0.2"
versionCode 8
versionName "1.0.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -25,8 +25,8 @@ android {
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', "x86"
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
abiFilters 'armeabi-v7a', 'arm64-v8a', "x86"
// 还可以添加 'armeabi', 'x86', 'x86_64', 'mips', 'mips64'
}
}
@@ -57,6 +57,15 @@ android {
v2SigningEnabled false
}
iPlay50SE {
storeFile file("keystore/iPlay50SE.keystore")
storePassword "123456"
keyAlias "iplay50se"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
U807 {
storeFile file("keystore/AllwinnerU807.jks")
storePassword "123456"
@@ -64,8 +73,6 @@ android {
keyPassword "123456"
v2SigningEnabled false
}
}
buildTypes {
@@ -83,6 +90,20 @@ android {
signingConfig signingConfigs.U807
}
iPlay50SEDebug.initWith(debug)
iPlay50SEDebug {
buildConfigField "String", "platform", '"iPaly50SE"'
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.iPlay50SE
}
iPlay50SERelease.initWith(release)
iPlay50SERelease {
buildConfigField "String", "platform", '"iPaly50SE"'
signingConfig signingConfigs.iPlay50SE
}
debug {
versionNameSuffix "-debug"
debuggable true
@@ -121,6 +142,11 @@ android {
}
}
}
externalNativeBuild {
cmake {
path file('CMakeLists.txt')
}
}
}
@@ -147,8 +173,11 @@ dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
// gson converter
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
// 标准转换器,去掉 Retrofit以Mutipart上传参数时String参数会多一对双引号
implementation 'com.squareup.retrofit2:converter-scalars:2.3.0'
//RxJava
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
@@ -180,6 +209,10 @@ dependencies {
//Aria
implementation 'com.arialyy.aria:core:3.8.15'
annotationProcessor 'com.arialyy.aria:compiler:3.8.15'
//Java WebSocket
implementation "org.java-websocket:Java-WebSocket:1.5.3"
implementation 'com.tencent.bugly:crashreport:4.1.9.2'
implementation 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0'
}
preBuild {