【问题标题】:FCM send message to topic with local time zoneFCM 向具有本地时区的主题发送消息
【发布时间】:2018-12-02 18:00:24
【问题描述】:

我正在使用适用于 IOS 和 Android 的 Firebase 云消息传递。
我想在特定时间向主题发送消息 考虑当地时区。
使用 API 是真的吗?
我知道通过使用自定义调度程序和存储用户时区是真实的,但我正在寻找简单的方法。

【问题讨论】:

标签: firebase firebase-cloud-messaging


【解决方案1】:

可以notifications composer panel in the Firebase console 中安排消息,并且可以选择在用户所在的时区发送消息。

但 Firebase Cloud Messaging API 中没有用于安排消息传递的选项。通过 API 发送的消息会在您发送后尽快送达。见FCM Schedule delivery date or time of push notification

【讨论】:

  • 谢谢,我怕这个。
猜你喜欢
  • 2021-04-09
  • 1970-01-01
  • 1970-01-01
  • 2016-11-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-05-18
  • 2019-10-13
相关资源
最近更新 更多