Nicola Rampazzo
Posts: 0
Joined: Thu Oct 16, 2014 2:39 pm

Push notifications for an rss app

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

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

Push notifications for an rss app

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.

Nicola Rampazzo
Posts: 0
Joined: Thu Oct 16, 2014 2:39 pm

Push notifications for an rss app

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push notifications for an rss app

Hi Nicola -

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

Nicola Rampazzo
Posts: 0
Joined: Thu Oct 16, 2014 2:39 pm

Push notifications for an rss app

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

Nicola Rampazzo
Posts: 0
Joined: Thu Oct 16, 2014 2:39 pm

Push notifications for an rss app

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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push notifications for an rss app

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.

Nicola Rampazzo
Posts: 0
Joined: Thu Oct 16, 2014 2:39 pm

Push notifications for an rss app

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

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

Push notifications for an rss app

Hi Nicola,

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

Regards.

Nicola Rampazzo
Posts: 0
Joined: Thu Oct 16, 2014 2:39 pm

Push notifications for an rss app

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

Return to “Issues”