Currently, I'm in the process of developing an application using Ionic 2 that requires push notifications to be received.
In certain scenarios, such as when the app is force-stopped on Android or when the device is turned off, push notifications are not delivered even if the background-mode plugin is active.
I am aware that push notifications are usually stored in a queue and are waiting to be sent. However, when my app is reopened, any notifications that were sent while the app was inactive are not automatically displayed. Only when a new notification arrives does my app start receiving the previously missed notifications.
My main inquiry revolves around how I can ensure that my app receives all notifications that were sent during its inactive state, or possibly request GCM (Google Cloud Messaging) to resend these notifications.