Firebase API Scheduled Notification

Asked

Viewed 202 times

0

I’m trying to schedule a specific time and I want to send a notification using Firebase. I am working on the project where I have to submit the notification shortly after two hours of the current date. Currently, my notification is working in real time, but I can’t find a way to program it to the specific time.

  • ah several ways, but since you are using firebase, take a look here https://github.com/firebase/firebase-jobdispatcher-android#user-content-firebase-jobdispatcher-

  • In case this would have to be done on the server?

  • Using some job, or scheduling with Alarmmanager for example?

  • if it is local it can be through the link I passed, job or Alarm, now if it is push notification, has the server side tb, better formulates the question and explains, put the code. Makes it easier to help

  • I am wanting to schedule by sending by php server, it is possible?

  • guy take a look here, https://firebase.google.com/docs/cloud-messaging/server?hl=pt-br, left side has also the menu of the android part

  • You can create a service and use with Alarmmanager,

  • By my researches I think I have to set up with Alarmmanager anyway, I did not want to use Alarmmanager to save cel resources, but there will be no way, firebase does not provide support for this via api, only by console.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.