I am doing pushnotification for both Android/IOS.I have used a phonegap push-plugin https://github.com/phonegap-build/PushPlugin, it seems to work great.
I am receiv
I've never used this plugin before but it looks like it passes a message
in the notification that you can process in your application. It seems therefore that in your index.html
you could read this message and if it contains some certain string, redirect to main.html
or wherever you want to go. You could do this while a splash screen is still visible or something so that the user doesn't see a jarring page redirect.