I’ve got the Phone-Gap Push notification plugin working perfectly ( https://github.com/phonegap/phonegap-plugin-push) and I can redirect to a different view if the the app is in the foreground using data.additionalData.foreground === true, however I’d like to a confirm that the user would like to be redirected before I send them to the new view. I think it might be annoying if you get a notification while you are using the app and it takes you to another view.
Currently the popup never fires. My only other thought is to not redirect if the app is in the foreground and use the forceShow option to display the notification and rely on the user to click the notification to be routed to that view. Any thoughts?