fix: fcm集成
This commit is contained in:
parent
148541bcb2
commit
3cfe50277e
@ -357,4 +357,9 @@ dependencies {
|
|||||||
implementation 'com.umeng.umsdk:common:9.7.9'
|
implementation 'com.umeng.umsdk:common:9.7.9'
|
||||||
implementation 'com.umeng.umsdk:asms:1.8.5'
|
implementation 'com.umeng.umsdk:asms:1.8.5'
|
||||||
//</cn>
|
//</cn>
|
||||||
|
//<com>
|
||||||
|
implementation 'cn.jiguang.sdk.plugin:fcm:5.2.3'
|
||||||
|
implementation 'com.google.firebase:firebase-messaging:23.0.5'
|
||||||
|
//</com>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -78,6 +78,8 @@
|
|||||||
<meta-data
|
<meta-data
|
||||||
android:name="flutterEmbedding"
|
android:name="flutterEmbedding"
|
||||||
android:value="2" />
|
android:value="2" />
|
||||||
|
<meta-data android:name="com.google.firebase.messaging.default_notification_icon"
|
||||||
|
android:resource="@mipmap/ic_launcher" />
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
||||||
android:value="1" /> <!-- 将您的通知渠道ID替换为您的实际ID -->
|
android:value="1" /> <!-- 将您的通知渠道ID替换为您的实际ID -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user