version:2.1
fix:完善推送 update:
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: "com.tencent.android.tpns"
|
||||
|
||||
static def appName() {
|
||||
return "AoleyunDeviceInfo"
|
||||
@@ -60,14 +61,18 @@ android {
|
||||
//新平台正式
|
||||
newly {
|
||||
flavorDimensions "default"
|
||||
versionCode 10
|
||||
versionName "1.9"
|
||||
versionCode 12
|
||||
versionName "2.1"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
JPUSH_APPKEY : "79c64ef41b8728ad6aa29af1", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value: "newly",
|
||||
XG_ACCESS_ID : "1500026372",
|
||||
XG_ACCESS_KEY: "AR7A1L5M0LPH",
|
||||
|
||||
// JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
// JPUSH_APPKEY : "79c64ef41b8728ad6aa29af1", //JPush上注册的包名对应的appkey.
|
||||
// JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
// channel_value: "newly",
|
||||
|
||||
]
|
||||
/*********************************极光推送end************************************/
|
||||
buildConfigField "String", "ROOT_URL", '"https://led.aoleyun.cn/api/"'
|
||||
@@ -78,14 +83,16 @@ android {
|
||||
|
||||
MTKnewly {
|
||||
flavorDimensions "default"
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
versionCode 4
|
||||
versionName "1.3"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
JPUSH_APPKEY : "79c64ef41b8728ad6aa29af1", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value: "newly",
|
||||
XG_ACCESS_ID : "1500026372",
|
||||
XG_ACCESS_KEY: "AR7A1L5M0LPH",
|
||||
// JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
// JPUSH_APPKEY : "79c64ef41b8728ad6aa29af1", //JPush上注册的包名对应的appkey.
|
||||
// JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
// channel_value: "newly",
|
||||
]
|
||||
/*********************************极光推送end************************************/
|
||||
buildConfigField "String", "ROOT_URL", '"https://led.aoleyun.cn/api/"'
|
||||
@@ -102,10 +109,12 @@ android {
|
||||
versionName "1.0"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
JPUSH_APPKEY : "79c64ef41b8728ad6aa29af1", //JPush上注册的包名对应的appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
channel_value: "beta",
|
||||
XG_ACCESS_ID : "1500026372",
|
||||
XG_ACCESS_KEY: "AR7A1L5M0LPH",
|
||||
// JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
// JPUSH_APPKEY : "79c64ef41b8728ad6aa29af1", //JPush上注册的包名对应的appkey.
|
||||
// JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
// channel_value: "beta",
|
||||
]
|
||||
/*********************************极光推送end************************************/
|
||||
buildConfigField "String", "ROOT_URL", '"https://led.aoleyun.cn/api/"'
|
||||
@@ -320,15 +329,16 @@ dependencies {
|
||||
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
||||
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
||||
//fastjson
|
||||
implementation 'com.alibaba:fastjson:1.2.76'
|
||||
implementation 'com.alibaba:fastjson:1.2.79'
|
||||
//极光推送
|
||||
implementation 'cn.jiguang.sdk:jpush:4.3.0' // 此处以JPush 3.5.6 版本为例。
|
||||
implementation 'cn.jiguang.sdk:jcore:2.9.0' // 此处以JCore 2.2.8 版本为例。
|
||||
// implementation 'cn.jiguang.sdk:jpush:4.3.0' // 此处以JPush 3.5.6 版本为例。
|
||||
// implementation 'cn.jiguang.sdk:jcore:2.9.0' // 此处以JCore 2.2.8 版本为例。
|
||||
//高德地图定位
|
||||
implementation 'com.amap.api:location:5.1.0'
|
||||
//MMKV
|
||||
implementation 'com.tencent:mmkv-static:1.2.10'
|
||||
|
||||
implementation 'com.tencent:mmkv-static:1.2.11'
|
||||
//腾讯移动推送 TPNS
|
||||
implementation 'com.tencent.tpns:tpns:1.3.1.1-release'
|
||||
//RxHttp
|
||||
implementation 'com.github.liujingxing.rxhttp:rxhttp:2.6.5'
|
||||
//implementation 'com.squareup.okhttp3:okhttp:4.9.1' //rxhttp v2.2.2版本起,需要手动依赖okhttp
|
||||
|
||||
Reference in New Issue
Block a user