I have a flutter android app. What I need is: When a user clicks on a button - after x amount of minutes, the app will get a push notification.
I thought to implement that by - the app should be with a user login mechanism. When the user clicks on a button, the app will trigger a cloud function via http request, this cloud function will create a new cron job, scheduled to the time needed (for example, 15 minutes from now). Than, the cron job will send push notification with FCM to the client app.
Is my "planning" is ok? this is the proper way of doing this kind of task? Thanks
Recommended threads
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...