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-
– AndersonCanteiro
In case this would have to be done on the server?
– user3380333
Using some job, or scheduling with Alarmmanager for example?
– user3380333
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
– AndersonCanteiro
I am wanting to schedule by sending by php server, it is possible?
– user3380333
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
– AndersonCanteiro
You can create a service and use with Alarmmanager,
– Daniel
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.
– user3380333