1,新增华为厂商通道配置

2,修改厂商SDK版本
This commit is contained in:
Daisy 2024-05-28 14:59:52 +08:00
parent 855ce1fb18
commit b5de86d288
3 changed files with 9 additions and 3 deletions

View File

@ -222,11 +222,11 @@ dependencies {
implementation('com.amap.api:location:5.6.0')
implementation('com.amap.api:3dmap:8.1.0')
implementation 'cn.jiguang.sdk:jpush:5.2.4'
implementation 'cn.jiguang.sdk:jpush:5.2.3'
//
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.4'
implementation 'cn.jiguang.sdk.plugin:huawei:5.2.3'
implementation 'cn.jiguang.sdk.plugin:xiaomi:5.2.4'
implementation 'cn.jiguang.sdk.plugin:xiaomi:5.2.3'
}

View File

@ -54,6 +54,12 @@
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="1"/> <!-- 将您的通知渠道ID替换为您的实际ID -->
<meta-data
android:name="com.huawei.hms.client.appid"
android:value="110798531"/>
<meta-data
android:name="com.huawei.hms.client.cpid"
android:value="1406555529261648640"/>
<!-- 配置定位Service -->
<service android:name="com.amap.api.location.APSService"/>
<activity android:name="com.skychip.lock.MainActivity" android:exported="true" android:screenOrientation="portrait" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">