I am developing an example app, with the most important concepts (notifications, consumption of apis, etc.).
I can generate notifications, but I always have to have the application open, even in the background. The idea is that although the application is closed, there is some process that allows me every time interval to execute an action and if it is true, it shows a notification.
For example, most of us use the Facebook, Instragram and Whatsup apps, and these applications, even if they are closed when there is a new message, show us a notification. It is really what I would like to achieve.
If you could help me, I would really appreciate it and thank you for what you have helped me so far.
How could you do this to make it work for Android and IOS?
I thank you very much for your help.