Open virtualprodigy opened 8 years ago
The post is iOS related only... I was able to get notifications to process but only if you click on the notification, or click on the notification center notification, with the app in the background. However, if you simply bring the app back from the background, the notification does not process. I am also able to process the notification if the notification is received while the app is off, once I launch the app, I am able to get the notifications.
So it seems we just need the notification to get pulled from iOS when then the app wakes up(resumes)... or we need a way to call the notification handler and process the notification via the resume event listener. I can see the resume get called AFTER the notification is handled under my successful tests above.
Currently this plugin doesn't provide any means for the code to handle a push notification that was received in the background. If someone get's a push notification while the app is in the background the event handlers are never code which prevents my application from properly handling this situation. It seems like this was address by the official Cordova plugin last year, https://github.com/phonegap/phonegap-plugin-push/issues/109.
Is there any plans to add this functionality or should I switch over to Cordova's plugin?