更改推送
This commit is contained in:
@@ -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 版本
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user