Aathy2008
Aathy20084mo ago

Aathy2008 - I have a problem. I am trying to bu...

I have a problem. I am trying to build an app in flutterflow that would notify users based on their input(every 6 hours or everyday etc) I have the info in a firestore database. Once the user creates a reminder the push notification should be dent accprdingly. I watched BuildShip's scheduled push notification video, but i need those to work on use input. Can anybody help?
3 Replies
Shams
Shams4mo ago
What’s the minimum increment of time would you want the users to be notified? Eg Every 1hr?
Aathy2008
Aathy20084mo ago
Yes
Shams
Shams4mo ago
so when you set the notification preference on firestore eg every 2hours you need to add an additional field eg: nextNotificationTime you can setup a single buildship secheduled hourly trigger. it would query firestore of nextNotificationTime < current time for the results you can send users notification, and based on their preference you can update the nextNotificationTime so if user wants to be remined every 2 hours the new nextNotificationTime is current time + 2 hours let know if you need more details