更改推送

This commit is contained in:
2024-09-18 17:03:26 +08:00
parent cc463fc7c4
commit 93182c3985
11 changed files with 128 additions and 27 deletions

View File

@@ -21,6 +21,14 @@ android {
vectorDrawables {
useSupportLibrary = true
}
addManifestPlaceholders(
mapOf(
"JPUSH_PKGNAME " to applicationId!!,
"JPUSH_APPKEY" to "ad805ee9f2760376f4f47178",
"JPUSH_CHANNEL" to "developer-default",
)
)
}
buildTypes {
@@ -50,6 +58,7 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
dependencies {
@@ -101,5 +110,6 @@ dependencies {
implementation("com.google.firebase:firebase-analytics")
implementation("com.google.firebase:firebase-perf")
implementation("com.google.firebase:firebase-messaging-ktx")
implementation ("cn.jiguang.sdk:jpush:5.4.0") // 必选此处以JPush 5.4.0 版本为例注意5.0.0 版本
}