- 实现了 ConversationViewModel 来管理对话列表的刷新和状态 - 集成了 FCM 推送服务支持并实现了自动令牌获取机制 - 构建了完整的 PushSDK 推送系统,支持华为、小米、OPPO、VIVO、荣耀等厂商推送 - 添加了推送配置管理和设备注册/注销功能 - 实现了跨平台推送令牌管理和服务绑定逻辑 - 扩展了服务器端功能服务管理器以支持推送服务激活请求流程
40 行
1.1 KiB
Plaintext
40 行
1.1 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
apply(from = rootProject.file("gradle/publish.gradle"))
|
|
|
|
android {
|
|
namespace = "com.xuqm.sdk.push"
|
|
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
|
|
defaultConfig {
|
|
minSdk = libs.versions.minSdk.get().toInt()
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
manifestPlaceholders["XUQM_VIVO_APP_ID"] = ""
|
|
manifestPlaceholders["XUQM_VIVO_APP_KEY"] = ""
|
|
manifestPlaceholders["XUQM_HONOR_APP_ID"] = ""
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
publishing {
|
|
singleVariant("release")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":sdk-core"))
|
|
api(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
|
|
compileOnly(platform(libs.firebase.bom))
|
|
compileOnly(libs.firebase.messaging)
|
|
api("com.huawei.hms:push:6.12.0.300")
|
|
api("com.hihonor.mcs:push:7.0.41.301")
|
|
api("io.github.hebeiliang.mipush:Push:2.0.0")
|
|
api("com.umeng.umsdk:oppo-push:3.0.0")
|
|
api("com.umeng.umsdk:vivo-push:4.0.6.0")
|
|
}
|