I have an application that needs to communicate with the server (update its data) once every 24 hours. This should happen even if the application is not open and is not in the background.
Ideally, I would like to:
- Every 24 hours my server sends a push notification to the iPad
- This wakes up the application and runs the code needed to update the data.
- The notification is then discarded.
Is it possible? Is the application only awakened AFTER the user clicks on the notification? Or can I run the code before showing the notification? Can I even refuse a notification?
If push notifications are not suitable for this, what is
Thanks guys!
ios push-notification notifications background-process
theDuncs
source share