Can we push only data message from Firebase Notification console [duplicate]

你离开我真会死。 提交于 2019-11-29 17:02:53
AL.

Unfortunately, no. When sending messages through the Firebase Console, it will be treated as a notification payload and will be handled as such.

You can however, include custom key-value pairs in the Advance Options section in the console, this will be treated as a part of the data payload. But the message will be treated as having both Notification and Data payload.

If you insist on sending a data only payload, you should make use of the FCM REST API.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!