From a3d26981fb0ff2049a55d08c447c73e114a45384 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 29 十二月 2023 15:09:20 +0800 Subject: [PATCH] 加入极光推送SDK --- app/build.gradle | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 450820a..f970e16 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -80,4 +80,37 @@ implementation 'com.pnikosis:materialish-progress:1.7' + + + + //鎺ㄩ�佺浉鍏� + // 姝ゅ浠Push 5.0.0 鐗堟湰涓轰緥锛�5.0.0 鐗堟湰寮�濮嬪彲浠ヨ嚜鍔ㄦ媺鍙� JCore 鍖咃紝鏃犻渶鍙﹀閰嶇疆 + implementation 'cn.jiguang.sdk:jpush:5.2.2' + //鑻ヤ笉闆嗘垚鍘傚晢閫氶亾锛屽彲鐩存帴璺宠繃浠ヤ笅渚濊禆 + // 鏋佸厜鍘傚晢鎻掍欢鐗堟湰涓庢帴鍏� JPush 鐗堟湰淇濇寔涓�鑷达紝涓嬪悓 + // 鎺ュ叆鍗庝负鍘傚晢 + implementation 'com.huawei.hms:push:6.5.0.300' + implementation 'cn.jiguang.sdk.plugin:huawei:5.2.2' + // 鎺ュ叆 FCM 鍘傚晢 + implementation 'com.google.firebase:firebase-messaging:23.0.5' + implementation 'cn.jiguang.sdk.plugin:fcm:5.2.2' + // 鎺ュ叆榄呮棌鍘傚晢 + implementation 'cn.jiguang.sdk.plugin:meizu:5.2.2' + // 鎺ュ叆 VIVO 鍘傚晢 + implementation 'cn.jiguang.sdk.plugin:vivo:5.2.2' + // 鎺ュ叆灏忕背鍘傚晢 + implementation 'cn.jiguang.sdk.plugin:xiaomi:5.2.2' + // 鎺ュ叆 OPPO 鍘傚晢 + implementation 'cn.jiguang.sdk.plugin:oppo:5.2.2' + // 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' + // 鎺ュ叆鑽h��鍘傚晢 + implementation 'cn.jiguang.sdk.plugin:honor:5.2.2' + +// apply plugin: 'com.google.gms.google-services' + apply plugin: 'com.huawei.agconnect' } \ No newline at end of file -- Gitblit v1.8.0