Page 2 of 2

Push notifications for an rss app

Posted: Wed Jan 21, 2015 10:21 am
by Ihor Didevych

Hi Nicola,

If you placed extra logic that send push on appearing link, then yes.
If no, then you need to: - create a service
or

  • make all pushes manually
    or
  • create server-code script
    And use one of the item from list above

Push notifications for an rss app

Posted: Mon Jan 26, 2015 2:18 pm
by Nicola Rampazzo

Hi,
sorry but I don't understand what you mean for "extra logic".


Push notifications for an rss app

Posted: Mon Jan 26, 2015 3:31 pm
by Nicola Rampazzo

Hi,
following your suggestions I'm tryng to create a service as shown in the tutorial http://devcenter.appery.io/tutorials/... . I need to send push notification to all the devices. I've added the RegisterDevice service and the UnregisterDevice too. However if I try to add the UpdateService service I get this error when I try to generate the response from the test tab: Can't perform substitution for {deviceID} . Do I need this service if I have to send push notifications to all the devices? If I need it how can I get the deviceID?
Thanks
Nicola


Push notifications for an rss app

Posted: Wed Jan 28, 2015 7:40 am
by Evgene Karachevtsev

Hello Nicola,

You don't need any extra service to send push notifications to all the devices. Push notifications are sent to all the devices registered in a db by default.


Push notifications for an rss app

Posted: Thu Jan 29, 2015 2:28 pm
by Nicola Rampazzo

Ok so I can delete RegisterDevice, UnregisterDevice and UpdateService services, publish the app and it will send push notifications to all devices?
Thanx


Push notifications for an rss app

Posted: Thu Jan 29, 2015 2:46 pm
by Evgene Karachevtsev

Nicola,

It hard to say for sure, because we don't know the entire logic of your project, but this approach should work. You may create a backup of your project before removing the services, just in case.