【问题标题】:'onSendError()' method in FirebaseMessagingService class does not invokedFirebaseMessagingService 类中的“onSendError()”方法未调用
【发布时间】:2017-11-22 12:33:58
【问题描述】:

我正在对所有用户的令牌使用节点 js 推送通知。 但是当我发送空令牌列表时,我可以看到firebase云函数中的日志打印一个错误,但仍然没有调用android FirebaseMessagingService类的“OnSendError()”。 怎么会?

【问题讨论】:

    标签: android firebase firebase-cloud-messaging google-cloud-functions


    【解决方案1】:

    onSendError() 在发送 upstream 消息 from a client to an XMPP server 发生错误时调用。与从服务器发送到客户端的下游消息相关的故障不会调用它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-12-11
      • 2018-10-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多