John Tyrrell
Posts: 0
Joined: Wed Mar 26, 2014 11:42 pm

How can I include a image on a push notification message?

Hi

How can i send a image on push notification ?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How can I include a image on a push notification message?

Hi John,

This can't be done. You could send a link to image, for example:
http://stackoverflow.com/questions/18...
Also check this link: http://stackoverflow.com/questions/18...

John Tyrrell
Posts: 0
Joined: Wed Mar 26, 2014 11:42 pm

How can I include a image on a push notification message?

Ok!

Thanks Katya,for this,Any idea how i can send a push notification so it will link to a specific page in my app?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How can I include a image on a push notification message?

John,

You can pass any info in Push notifications, for example, a name of the page you want to open.

To do this, add a Push notification event handler and process Push notifications data there (available as data.aps.alert variable).

For example, use this code to navigate to page:
preApperyio.navigateTo(data.aps.alert);/pre

John Tyrrell
Posts: 0
Joined: Wed Mar 26, 2014 11:42 pm

How can I include a image on a push notification message?

Hi is there anyway to achieve this functionality in appery.io backend, bychanging push notification image and push sounds?would this be acheive by saving as local storage variable? eg.
http://www.appoxee.com/
Thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How can I include a image on a push notification message?

Hi John,

Sorry, not sure we understand. Could you please clarify what data you want to pass and what do you need to do with it?

John Tyrrell
Posts: 0
Joined: Wed Mar 26, 2014 11:42 pm

How can I include a image on a push notification message?

Hey Katya

I want to display a notification of an image and change push sound?

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

How can I include a image on a push notification message?

Hello John,

You cannot send a picture to push Directly, as it was said early, here you can find the variants with workaround:
https://getsatisfaction.com/apperyio/...
You can try to change default sound in GCMIntentService.java in the method generateNotification on the Source tab on the way ANDROID/[app name]/src/io/appery[projectName]. Please note, that all the consequences will be your responsibility.
In addition, you can use another plugin to Push, which is more suitable for your needs

Return to “Issues”