Page 1 of 2

Push notifications for an rss app

Posted: Mon Dec 01, 2014 3:48 pm
by Nicola Rampazzo

Hi,
I've created an rss app and I've followed all the steps to activate the push notifications. Do I need to activate a database to make them work or I've a new notification everytime I've a new content from the rss feed?
Thanks
Nicola


Push notifications for an rss app

Posted: Tue Dec 02, 2014 2:38 am
by Yurii Orishchuk

Hi Nicola,

Yes you need to link DB to your app if you want to use PUSH notifications.

Reason - is to store some information about devices needed to use push.

Please pass this tutorial to understand how push notification works in appery.io.

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

After you passed it - please read more about send push via server code.
More info here: http://devcenter.appery.io/documentat...

Regards.


Push notifications for an rss app

Posted: Thu Jan 08, 2015 8:56 am
by Nicola Rampazzo

Hi,
I'm following this tutorial http://devcenter.appery.io/tutorials/...
I've generated the ios distribution certificate, but if I try to upload it the system answer with the following error "Error: ios_distribution.p12.cerhas an invalid extension. Only p12 is allowed" . Where I'm wrong?
Thanks


Push notifications for an rss app

Posted: Thu Jan 08, 2015 9:08 am
by Illya Stepanov

Hi Nicola -

You are uploading file with wrong extension name codeios_distribution.p12.cerhas/code


Push notifications for an rss app

Posted: Thu Jan 08, 2015 3:33 pm
by Nicola Rampazzo

Ok thank You. Now I've a problem following the tutorial linked before in the steps "Assigning push notifications" where in the step 4 the tutorial says "Open the EVENTS tab.". Whereis the Event tab? Sorry but I'm not able to find it.
Thanks


Push notifications for an rss app

Posted: Thu Jan 08, 2015 3:54 pm
by Nicola Rampazzo

Hi,
thank you now It's ok but I've a problem with the tutorial. In the Step "Assigning push notifications" I've created a new page, named it "Push" but in the step 5 when I've to select the component I can't select "startPage". I can select it if I create the event in my startScreen (which is a rss feed page) but if I create the event here I cannot set the property as shown in step 7. How can I do this?


Push notifications for an rss app

Posted: Mon Jan 12, 2015 4:15 pm
by Illya Stepanov

Hi Nicola -

Unfortunately its not very clear what you're trying to do. If you're selecting service invocation on your 'startPage', then you can't choose 'Set property' for it.
Or if you want to choose 'Push initialize' event on this page, first you need to enable Push notifications for your app.


Push notifications for an rss app

Posted: Tue Jan 13, 2015 3:49 pm
by Nicola Rampazzo

Hi,
sorry if my andwer is not clear, I try to explain it better. I need to send a notification every time the app shows a new feed. I've enabled push notifications and created a new database as you've suggested before. Now I'm following this tutorial (http://devcenter.appery.io/tutorials/...) and I created a new page called 'Push' but I can't assign push notifications as shown because this is not my startScreen. Do I need this page or can I assign push notifications on my startScreen (as I've done)?
Thanks
Nicola


Push notifications for an rss app

Posted: Wed Jan 14, 2015 3:05 am
by Yurii Orishchuk

Hi Nicola,

You can assign "push ..." events on any page. But you have to chose "page" component before.

Regards.


Push notifications for an rss app

Posted: Thu Jan 15, 2015 9:12 am
by Nicola Rampazzo

Ok thanks. So I deleted the page built following the tutorial and assign "Push Inizialize" event to page header and "Push notification" on rss link. Is that correct? Does the app now sent a new notification every time a rss news appear?
Thank you