EilonOriginal post
Rank 2: Process
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
Summary
Developers using a Flutter Android app want to trigger a push notification 15 minutes after a user clicks a button. To achieve this, they plan to implement a user login mechanism that triggers a cloud function via an http request. This cloud function will create a cron job scheduled for 15 minutes in the future to send a push notification with FCM. This approach seems suitable for the task at hand.