fix: fcm集成

This commit is contained in:
Liuyf 2025-02-20 17:01:46 +08:00
parent 148541bcb2
commit 3cfe50277e
2 changed files with 7 additions and 0 deletions

View File

@ -357,4 +357,9 @@ dependencies {
implementation 'com.umeng.umsdk:common:9.7.9'
implementation 'com.umeng.umsdk:asms:1.8.5'
//</cn>
//<com>
implementation 'cn.jiguang.sdk.plugin:fcm:5.2.3'
implementation 'com.google.firebase:firebase-messaging:23.0.5'
//</com>
}

View File

@ -78,6 +78,8 @@
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<meta-data android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@mipmap/ic_launcher" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="1" /> <!-- 将您的通知渠道ID替换为您的实际ID -->