I'm using Push Plugin to receive notifications on a Phonegap app made for Android and iOS. The notifications are sent from a Rails app.
Is there a way to open a specific app view after clicking the notification without writing native code?
I'm using Push Plugin to receive notifications on a Phonegap app made for Android and iOS. The notifications are sent from a Rails app.
Is there a way to open a specific app view after clicking the notification without writing native code?
It would depend on the framework you are using.
Javascript
window.history.replaceState(null, '', '/view_url/' + params);
Angular JS
$state.go('app.customView');
Yes, send extra parameter in payload from server side code Notification will trigger an event once receiving and click