首页 文章

跟踪iOS的Firebase通知

提问于
浏览
0

有没有办法在Firebase Cloud 消息传递(FCM)中查看成功发送和失败的推送通知的数量?我可以看到使用Firebase控制台发送的消息,但我需要跟踪通过Web应用程序发送到设备的消息数量 .

Google解释了如何访问android https://support.google.com/googleplay/android-developer/answer/2663268上的统计信息 . 但iOS有类似的方式吗?

1 回答

  • -1

    总之,是的,你可以做到 .

    Firebase API将message_id作为响应参数 . 这表明通知是否已发送 .

    message_id: String specifying a unique ID for each successfully processed message.
    

    请在下面附上截图 .

    Firebase API Response parameter

    Please do refer this reference.

    Update:

    您无法在iOS应用程序中跟踪通知的用户活动 . 如果要实现上述功能,请调用任何自定义API并将所需数据存储到数据库中 . 你无法直接获得任何历史记录 .

相关问题