If you using the cordova push-plugin you can see the special handling for getting push notifications if the app is closed - it is called coldstart.
If you using the cordova push-plugin you can see the special handling for getting push notifications if the app is closed - it is called coldstart.