Working on an IonicV5 (with Angular) mobile application, I would like to implement a local/push notification system working this way:
- If myArray is not empty at 6PM on D day, display the local notification to the user
- If myArray is empty at 6PM on D day, do not display the local notification to the user
As this notification system is key for a reminder feature, it should work even if the app is in background or killed. Another difficulty is that myArray can evolve between the D-1 day & the D day, as elements can be added or deleted in the meantime (making scheduling complicated).
I was considering working with https://ionicframework.com/docs/native/local-notifications (but can change if another solution seems better).
Could someone advice to help me developing such a thing?
Thanks a lot for your answers!