Schedule a push notification with Firebase Cloud M

2020-02-07 05:07发布

I'm integrating push notifications in an app I'm developing. I have chosen to use Firebase Cloud Messaging (FCM) to support both Android and iOS.

When using the console to send a push message I see there is an option to delay the actual sending of the push notification. However when checking the HTTP docs I can't seem to find this option.

How would I schedule a notification so it is send at a later time using FCM and the HTTP API?

1条回答
对你真心纯属浪费
2楼-- · 2020-02-07 05:36

Unfortunately, as of the moment, there is no API or even a parameter that you can use in order to schedule a notification.

It can only be done either (as you already know) in the Firebase Console or implementing a delay until the schedule in your own App Server.

查看更多
登录 后发表回答