skip to Main Content

I would like to use firebase messaging to schedule a message everyday, at a specific time(say 9PM). How can I achieve this? Also, is it possible to achieve this without using firebase cloud functions?

Thanks in advance.

2

Answers


  1. Is it possible to achieve this without using Firebase Cloud Functions?

    Yes but in this case you’ll need to have your own server for sending message requests to the FCM backend, which will route messages to your client app running on users’ devices. As you’ll see in the doc this is possible for several languages, as well as by using the REST API.

    I would like to use firebase messaging to schedule a message everyday,
    at a specific time(say 9PM).

    You’ll have to schedule yourself the process of sending message requests to the FCM backend.

    The advantage of using Cloud Functions is that you get all the needed components out of the box with a scheduled Cloud Function: A trusted server environment where your server logic runs with Cloud Function, and a scheduler to run this function as desired.

    Login or Signup to reply.
  2. It will be like making ready-to-use things more complicated by re-inventing them. If you have millions or thousand of users only then it may be cost-effective to in-house this process.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search