【发布时间】:2018-12-02 18:00:24
【问题描述】:
我正在使用适用于 IOS 和 Android 的 Firebase 云消息传递。
我想在特定时间向主题发送消息
考虑当地时区。
使用 API 是真的吗?
我知道通过使用自定义调度程序和存储用户时区是真实的,但我正在寻找简单的方法。
【问题讨论】:
-
您可以在notifications composer panel in the Firebase console 中安排消息,并且可以选择在用户所在的时区发送消息。但是 Firebase Cloud Messaging API 中没有用于安排消息传递的选项。通过 API 发送的消息会在您发送后尽快送达。见stackoverflow.com/questions/39640469/…。
标签: firebase firebase-cloud-messaging