Page 1 of 1

Server code for push notifications not working

Posted: Mon Apr 28, 2014 10:59 am
by Oli Blub

Dear Projectteam,

some month ago i created a server code to send a push notification:

PN.send("", {
"message": "Notification sample 1 ",
"status": "sent"
} );

Then i run the browser with the url for executing the server code.
https://api.appery.io/rest/1/code/751...

Directly after that the push notification was send to the phone and appeared in the "scheduled push notification" tab. Now i get the url to the browser and nothing happens. Has someting changed for this topic?


Server code for push notifications not working

Posted: Mon Apr 28, 2014 12:46 pm
by Kateryna Grynko

Hi Oli,

Could you please post a screenshot of http://appery.io/push where we can see this notification?


Server code for push notifications not working

Posted: Tue Apr 29, 2014 6:04 pm
by Oli Blub

Hi Katya,

here the screenshot. If you want i can share the project with you.

Image


Server code for push notifications not working

Posted: Tue Apr 29, 2014 6:13 pm
by Oli Blub

Hello Katya,

sorry for the misunderstanding. The server code is working correctly! The notification is only not listed under "scheduled push notifications" but directly send to the phone.

sorry for that misunderstanding!
Thanks


Server code for push notifications not working

Posted: Wed Apr 30, 2014 8:56 am
by Kateryna Grynko

Hi Oli,

Could you please share your servercode with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? Are notifications delivered at once, without delay? Probably you do not set it when sending.


Server code for push notifications not working

Posted: Wed Jun 11, 2014 7:17 pm
by Kateryna Grynko

Hi Oli,

Did you solve this?