Is there a way to embed a link in a push notification so that when a user clicks on the notification it takes them to a specific page within the application?
Is there a way to embed a link in a push notification so that when a user clicks on the notification it takes them to a specific page within the application?
Hi, yes it's possible. I'll update.
Awesome, looking forward to getting more information on this, I couldn't find anything in the documentation.
The easiest way is to use Push Notifications tab and sent the link from Message field. App should be created as shown in tutorial
but in item #8 you need to use this code:
codevar pageName = data.aps.alert;
Appery.navigateTo(pageName);/code
here navigateTo function is used.
That doesn't seem to work because data.aps.alert only has something in it if you received the push notification while inside of the application.
I would like to be able to send a push notification that the users received outside of the application. When the user clicks on the notification it takes them to a specific place in the application instead of just the start page.
User can receive push notification only when app is opened or running in background (for example user clicked "Home" button, but didn't exit the app).
On iOS I can close the app completely and still send myself a test push notification. I'm not sure about andriod but I would assume it would work the same way.
I think it's just running in background..
Is there another staff member that you can ask to take a look at my question please?
Sure, I'll update.