push
This commit is contained in:
parent
8d747f61f6
commit
c918fccbc8
|
|
@ -17,7 +17,7 @@ buildscript {
|
|||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.4.2'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath 'com.huawei.agconnect:agcp:1.7.2.300'
|
||||
classpath 'com.huawei.agconnect:agcp:1.6.0.300'
|
||||
}
|
||||
}
|
||||
allprojects {
|
||||
|
|
|
|||
|
|
@ -162,14 +162,30 @@ dependencies {
|
|||
//推送
|
||||
implementation 'com.getui:gtsdk:3.3.9.0' //个推SDK
|
||||
implementation 'com.getui:gtc:3.2.18.0' //个推核心组件
|
||||
// 根据所需厂商选择集成
|
||||
implementation 'com.getui.opt:hwp:3.1.2' // 华为
|
||||
implementation 'com.getui.opt:xmp:3.3.1' // 小米
|
||||
implementation 'com.huawei.hms:push:6.12.0.300'
|
||||
implementation 'com.assist-v3:oppo:3.5.0' // oppo
|
||||
implementation 'com.assist-v3:vivo:3.2.0' // vivo
|
||||
implementation 'com.getui.opt:mzp:3.2.3' // 魅族
|
||||
implementation 'com.getui.opt:ups:3.0.3' // ups,ups目前支持坚果,索尼,海信手机
|
||||
implementation 'com.getui.opt:honor:3.6.0' // 荣耀
|
||||
|
||||
|
||||
implementation 'com.huawei.hms:push:6.12.0.300'
|
||||
// 添加荣耀 SDK
|
||||
implementation 'com.hihonor.mcs:push:7.0.61.303'
|
||||
//
|
||||
// // 根据所需厂商选择集成
|
||||
// implementation 'com.getui.opt:hwp:3.1.2' // 华为
|
||||
// implementation 'com.getui.opt:xmp:3.3.1' // 小米
|
||||
// implementation 'com.assist-v3:oppo:3.5.0' // oppo
|
||||
// implementation 'com.assist-v3:vivo:3.2.0' // vivo
|
||||
// implementation 'com.getui.opt:mzp:3.2.3' // 魅族
|
||||
// implementation 'com.getui.opt:honor:3.6.0' // 荣耀
|
||||
|
||||
//以下依赖都需要添加
|
||||
implementation 'com.google.code.gson:gson:2.6.2'
|
||||
//oppo配置以下依赖都需要添加
|
||||
// implementation 'com.google.code.gson:gson:2.6.2'
|
||||
implementation 'commons-codec:commons-codec:1.6'
|
||||
implementation 'com.android.support:support-annotations:28.0.0'
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@ public class PushActivity extends AppCompatActivity {
|
|||
setContentView(R.layout.activity_push);
|
||||
|
||||
|
||||
ToastUtil.show(this,"push---");
|
||||
// ToastUtil.show(this,"push---");
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue