Page 1 of 1

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

Posted: Wed May 21, 2014 2:03 pm
by John Tyrrell

Hi

How can i send a image on push notification ?


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

Posted: Wed May 21, 2014 2:48 pm
by Kateryna Grynko

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...


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

Posted: Wed May 21, 2014 4:04 pm
by John Tyrrell

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?


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

Posted: Wed May 21, 2014 7:33 pm
by Kateryna Grynko

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


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

Posted: Thu Jun 19, 2014 6:26 pm
by John Tyrrell

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


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

Posted: Thu Jun 19, 2014 9:17 pm
by Kateryna Grynko

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?


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

Posted: Thu Jun 19, 2014 10:51 pm
by John Tyrrell

Hey Katya

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


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

Posted: Fri Jun 20, 2014 11:33 am
by Evgene Karachevtsev

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