When a notification arrives on Android (fm_MessageArrived) with both the foreground application and the background application, I store the data in a kvs. To use later.
But on iOS only notifications with the app in the foreground are saved. How can I save notifications when the app is in the background?
This tutorial explains how you can use push notifications that don't show any visual cue to the user and start your app in the background for a limited time (up to 30 seconds). You can use it for example to download new content. Make sure to start with standard push notifications...