Oli Blub
Posts: 0
Joined: Mon Apr 28, 2014 10:59 am

Server code for push notifications not working

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?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Server code for push notifications not working

Hi Oli,

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

Oli Blub
Posts: 0
Joined: Mon Apr 28, 2014 10:59 am

Server code for push notifications not working

Hi Katya,

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

Image

Oli Blub
Posts: 0
Joined: Mon Apr 28, 2014 10:59 am

Server code for push notifications not working

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Server code for push notifications not working

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Server code for push notifications not working

Hi Oli,

Did you solve this?

Return to “Issues”