I am having this issue, I am using phonegap-push-plugin to implement the push notifications. I am getting them with onNotification inside the app but if the app is in the background nothing is shown on the top of the device or in the block screen.
On Android there is no issue I am getting in app and outside the app the correct notification.
Actually getting notifications only when the app is open is a common sign that dev mode is on, setting dev_push to false will set your push notifications to production mode and that should allow you do get push notifications on the device even when the app is closed.
[quote=“gowen, post:2, topic:51203”]
Actually getting notifications only when the app is open is a common sign that dev mode is on, setting dev_push to false will set your push notifications to production mode and that should allow you do get push notifications on the device even when the app is closed.[/quote]
Will try then gowen, also for this i need to recreate the certificates for production no?
I’m guessing your token changed to some long string instead of something starting with DEV and having dashes, that’s what they should look like so that’s fine.
Are you sure you’re using the right ionic api token for the push notification? Also have you set your app with apple developer so that it knows to allow push?
Take a look again at the full push docs and make sure you follow the security settings needed for apple and android as well as the ionic app key creation and certification. I had to do this a couple times before I got it right so wouldn’t surprise me if a step was missed somewhere.