I have a react native app and as a part of it a user can set up to be regularly notified (the notifications are just local...not pushed from the server).
The thing is, The user will choose the time and days of the week of the notifications and then I can set it up for a week or so but ideally I would want to run a cron job or something weekly to set up the notifications for that week...what would be the best way to do this?
Edit to add: The notifications will be sent at regular intervals but the content of the notifications will change over time.
Ideally I am looking for something that can run some code on the users phone every sunday and set the notifications without them having to open the app. Is there a nice way to do something like this?
I am using expo and if I can avoid ejecting for this then that would also be good.