| | |
| | | //暂时填写默认值即可. |
| | | JPUSH_CHANNEL: "developer-default", |
| | | |
| | | // //若不集成厂商通道,可直接跳过以下配置 |
| | | // MEIZU_APPKEY : "MZ-魅族的APPKEY", |
| | | // MEIZU_APPID : "MZ-魅族的APPID", |
| | | // XIAOMI_APPID : "MI-小米的APPID", |
| | | // XIAOMI_APPKEY : "MI-小米的APPKEY", |
| | | // OPPO_APPKEY : "OP-oppo的APPKEY", |
| | | // OPPO_APPID : "OP-oppo的APPID", |
| | | // OPPO_APPSECRET : "OP-oppo的APPSECRET", |
| | | // VIVO_APPKEY : "vivo的APPKEY", |
| | | // VIVO_APPID : "vivo的APPID", |
| | | // HONOR_APPID : "Honor的APP ID", |
| | | |
| | | ] |
| | | |
| | | } |
| | |
| | | implementation 'cn.jiguang.sdk:joperate:2.0.2' |
| | | |
| | | |
| | | // //若不集成厂商通道,可直接跳过以下依赖 |
| | | // // 极光厂商插件版本与接入 JPush 版本保持一致,下同 |
| | | // // 接入华为厂商 |
| | | // implementation 'com.huawei.hms:push:6.9.0.300' |
| | | // implementation 'cn.jiguang.sdk.plugin:huawei:5.0.3' |
| | | // // 接入 FCM 厂商 |
| | | // implementation 'com.google.firebase:firebase-messaging:23.1.2' |
| | | // implementation 'cn.jiguang.sdk.plugin:fcm:5.0.3' |
| | | // // 接入魅族厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:meizu:5.0.3' |
| | | // // 接入 VIVO 厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:vivo:5.0.3' |
| | | // // 接入小米厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:xiaomi:5.0.3' |
| | | // // 接入 OPPO 厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:oppo:5.0.3' |
| | | // // JPush Android SDK v4.6.0 开始,需要单独引入 oppo 厂商 aar ,请下载官网 SDK 包并把 jpush-android-xxx-release/third-push/oppo/libs 下的 aar 文件单独拷贝一份到应用 module/libs 下 |
| | | // implementation(name: 'com.heytap.msp-push-3.1.0', ext: 'aar') |
| | | // |
| | | // //以下为 OPPO 3.1.0 aar需要依赖 |
| | | // implementation 'com.google.code.gson:gson:2.6.2' |
| | | // implementation 'commons-codec:commons-codec:1.6' |
| | | // implementation 'androidx.annotation:annotation:1.1.0' |
| | | // // 接入荣耀厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:honor:5.0.3' |
| | | // //需要单独引入荣耀厂商 aar ,请下载官网 SDK 包并把 jpush-android-xxx-release/third-push/honor/libs 下的 aar 文件单独拷贝一份到应用 module/libs 下 |
| | | // implementation(name: 'HiPushSdk-v7.0.41.301', ext: 'aar') |
| | | |
| | | |
| | | // 应用 Module 配置 |
| | | // 如果选择的厂商通道包含了 Huawei 厂商通道和 FCM 厂商通道,则需要额外执行以下操作,若未选择可忽略本步骤。 |
| | | // FCM:在 Firebase 上创建和 JPush 上同包名的待发布应用,创建完成后下载该应用的 google-services.json 配置文件并添加到应用的 module 目录下。 |
| | | // Huawei:在 Huawei 上创建和 JPush 上同包名的待发布应用,创建完成后下载该应用的 agconnect-services.json 配置文件并添加到应用的 module 目录下。 |
| | | |
| | | |
| | | } |