是否可以使用Firebase安排推送通知? [英] Is it possible to schedule Push Notifications with Firebase?

查看:85
本文介绍了是否可以使用Firebase安排推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了所有可以找到的文档,但仍然不知道这样做是否可行.如果我是用户,可以在特定时间安排推送通知吗?

I have read every piece of documentation I could find but still do not know if this is possible. Can I schedule push notifications for a specific time if I am a user?

示例:

1)我是用户,然后打开该应用

1) I am a user and open the app

2)我允许通知并转到pickerView(或其他任何控件),并在10AM设置一个时间

2) I allow notifications and go to a pickerView(or anything else) and set a time say at 10AM

3)现在每天我仅在那个时候收到推送通知

3) Now everyday I receive a push notification only at that time

非常感谢您的帮助!

推荐答案

您可以使用cronjobs.观看此视频以开始使用
使用HTTP触发器和Cron为Firebase计时-消防广播

You can use cronjobs. Watch this video for getting started
Timing Cloud Functions for Firebase using an HTTP Trigger and Cron - Firecasts

这篇关于是否可以使用Firebase安排推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆