使用Firebase通知 我可以获取通知,但无法获取App图标上的徽章。 据Firebase Documentation,我用这部分代码在AndroidManifest.xml中: <!-- Set custom default icon. This is used when no icon
is set for incoming notification messages. -->
<met
我使用Firebase Cloud Messaging HTTP Protocol向我的应用程序发送推送通知,使用邮递员进行测试。 我正在使用以下代码发送推送。 {
"notification":{
"title":"Title",
"body":"this is a notification to a specific topic",
"sound":"d