无法使用Firebase控制台发送数据消息 [英] Unable to send data message using firebase console
本文介绍了无法使用Firebase控制台发送数据消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有使用相同的方式发送数据信息的方法?
b $ b解决方案
您现在可以发送
只要展开它并键入您的键/值映射即可。
这些将被包含到通知的数据字段中。
I'm using firebase console and can send only Notification messages using it.
Is there a way to send data messages using the same?
解决方案
You can now send notification message via the console. Note that it is different from data messages; notification messages only trigger the onMessageReceived
callback when the app is in the foreground.
They are inside the advanced options tab on the compose message screen.
Just expand it and type your key/value map.
These will be included into the data field of the notification.
这篇关于无法使用Firebase控制台发送数据消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文