I have been working on a react native app (first time building an app) and I am trying to add notifications for it. Part of the app requires users to take pictures and I would like to add a feature that reminds the user to take a new picture every 30 days. I have tried the code presented in the expo notifications guide, both the code that uses the expo server as well as the code right at the start of the docs that uses scheduleNotificationsAsync. Whilst the code that uses the server works, I am struggling to understand how to add the feature that schedules it to trigger in 30 days time. I also am not able to create a server due to limited resources. When I use the code with scheduleNotificationsAsync I then get these memory leak errors which I have not been able to fix.
Any guidance would be much appreciated, thank you.