bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Open a tab within the mobile app when clicking on a push message

Is it possible to open a tab (e.g news tab) when clicking on a push message? When sending a push message i want to send also the location/tab where it should open a specific tab.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Open a tab within the mobile app when clicking on a push message

Hi Bal,

Did i understand you correct when assume that "tab"="page"?

If so:

Yes you can handle "push notification" event and use following code in case if you decide to navigate to other page:

pre

Apperyio.navigateTo("newPage");

/pre

Please read more here to understand how to handle push notification event: http://devcenter.appery.io/tutorials/...

Regards.

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Open a tab within the mobile app when clicking on a push message

Yes tab=page, with some messages we want to use a link to an external website (after clicking on the push message) and another time we will redirect the users to a specific page wihtin the mobile app, after clicking. I will try to find a workaround, or do you have some advices/tips & tricks?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Open a tab within the mobile app when clicking on a push message

Hi Bal,

You can open external link with inappbrowser. The solution described here:

http://devcenter.appery.io/tutorials/...

Also there is a way to open it with system browser.

Please pass tutorial above to understand how it works and choose the way more fit for your case.

Regards.

Julian Alberto De La Rosa Suncar
Posts: 0
Joined: Mon Jan 27, 2014 4:08 pm

Open a tab within the mobile app when clicking on a push message

Hello i need help. We developed an app and the customer wants to trigger a page when receiving a push. The push is sent correctly and received in devices. But the action to open the app and retrieve the message is not working. On page Show we have this

localStorage.activePushMessage.fecha=new Date();
localStorage.activePushMessage.leido=false;
localStorage.activePushMessage.contenido=data.message;
Apperyio.navigateTo("PushHandler");

The problem it's that is not navigating to the page

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Open a tab within the mobile app when clicking on a push message

Hello Julian,

We're working on it and will post the update here: https://getsatisfaction.com/apperyio/...

Return to “Issues”