I'm developing an app using Ionic 2. This app must receive push notifications.
In some situations the app will be killed like the "Force Stop" option in Android. I other situations the device will be shutdown. In such situations my app don't will receive push notifications, even if background-mode plugin is enabled.
Anyway I know that push notifications are stored in some place, in a queue waiting to be delivered. When I start again my app, the notifications sent while my app was not running are not automatically received by the app. If I receive a new notification at this moment all notification sent when my app was stopped will be received by my app.
My question is how could I force my app to receive notifications sent when the app was stopped or ask to GCM to send this notifications?