diff --git a/android/app/build.gradle b/android/app/build.gradle index 5e2bb17a..29d964a4 100755 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -227,6 +227,15 @@ dependencies { implementation 'com.huawei.agconnect:agconnect-core:1.8.1.300' implementation 'com.huawei.hms:push:6.12.0.300' implementation 'cn.jiguang.sdk.plugin:huawei:5.2.3' - + // 接入小米厂商 implementation 'cn.jiguang.sdk.plugin:xiaomi:5.2.3' + //接入OPPO厂商 + implementation 'cn.jiguang.sdk.plugin:oppo:5.2.3' + //引入 libs 中的 aar,如果项目中有此依赖不需要重复引用 + implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') + //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' + } diff --git a/android/app/libs/com.heytap.msp_3.4.0.aar b/android/app/libs/com.heytap.msp_3.4.0.aar new file mode 100644 index 00000000..dcc17232 Binary files /dev/null and b/android/app/libs/com.heytap.msp_3.4.0.aar differ diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index e8e4248a..bd772d1b 100755 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -60,8 +60,37 @@ + + + + + + + + + + + + + + + + + + + + +