update:2021.04.26

fix:
add:加入极光推送,发送正在运行的app信息
This commit is contained in:
FHT
2021-04-26 18:14:14 +08:00
parent d23777e680
commit 5da934cf7e
20 changed files with 1497 additions and 38 deletions

View File

@@ -28,6 +28,16 @@ android {
targetSdkVersion 28
versionCode 32
versionName "1.3.2"
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a'
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
}
manifestPlaceholders = [
JPUSH_PKGNAME : "com.android.uiuios",
JPUSH_APPKEY : "7d1fa30dc98e1637ba79c6f0", //JPush 上注册的包名对应的 Appkey.
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
]
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
@@ -185,6 +195,7 @@ repositories {
maven { url "../../../prebuilts/fullsdk-linux/extras/android/m2repository" }
mavenCentral()
google()
jcenter()
}
dependencies {
@@ -218,6 +229,10 @@ dependencies {
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
//极光推送
implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.8.6 版本为例。
implementation 'cn.jiguang.sdk:jcore:2.6.0' // 此处以JCore 2.6.0 版本为例。
}
protobuf {