Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create daily push notification using Firebase Cloud Messaging

In the Firebase console we can set a specific time and date when will our notification will be push. But is there a way that we can set it daily? For example it will send every Monday, Wednesday and Friday or everyday?

like image 885
natsumiyu Avatar asked May 23 '16 03:05

natsumiyu


People also ask

Can you send push notifications with Firebase?

Firebase Cloud Messaging (FCM) provides a reliable and battery-efficient connection between your server and devices that allows you to deliver and receive messages and notifications on iOS, Android, and the web at no cost.


2 Answers

Push campaigns with Firebase Notifications can be sent now or later (scheduled).

You could probably switch to Firebase Cloud Messaging, use their HTTP API and then build a cron script to trigger your notifications automatically on these days.

Or switch to a more mature product like Parse Server, Batch.com or anything else as they usually provide that daily/weekly/monthly recurring push notifications feature.

like image 160
Antoine Guénard Avatar answered Sep 22 '22 00:09

Antoine Guénard


Recurring messages are available in FCM now. May be helpful to someone.

Daily

custom

like image 40
Shyju M Avatar answered Sep 20 '22 00:09

Shyju M