【问题标题】:How to send custom notification in iOS using Firebase Notifications.如何使用 Firebase 通知在 iOS 中发送自定义通知。
【发布时间】:2017-11-02 08:20:32
【问题描述】:

我正在开发一个使用 Swift 和 Firebase 作为实时数据库的 iOS 应用程序。 它是一款通过 Firebase 推送通知 向用户发送励志名言的应用。目前,我正在使用 Firebase Compose 消息 发送通知。

使用 firebase 有没有一种方法可以让用户指定他们希望在一天中的什么时间收到通知? 例如每天一次 - 中午 12 点;每天两次 - 中午 12 点、晚上 8 点。

【问题讨论】:

标签: ios firebase push-notification firebase-notifications custom-notification


【解决方案1】:

我正在使用 Cloud Functions 获取发送通知所需的用户详细信息,并使用 cronjob 触发它们。

【讨论】:

  • 您能否为此添加更多细节以帮助理解如何以这种方式进行操作?就目前而言,这是一个低质量的答案,并且有被删除的风险。 stackoverflow.com/help/answering
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多