How can I schedule background tasks to run every X minutes?
- Background fetch task. Problem is there it seems there is no guarantee that my task is going to run every X minutes. It is up to the OS to decice if it runs or not.
- Remote notifications. Can we wake up the app and run a background task when receiving a remote notification? Or does the user have to open the notification in order for the app to wake up and run a task? If that is possible, could it be a silent notification where the user isn't even aware that he received a notification and that his app is running stuff in the background?
Any other options?