Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Need Help! Notification Tier1

Author
Message
Engineer
9
Years of Service
User Offline
Joined: 16th Jul 2014
Location:
Posted: 30th Mar 2015 16:34
Friends, my project is in the final stage.
I have two major problems that today I do not know how to solve.
One of them is to send notification to the client application from the server.
As far as I understood from http://www.appgamekit.com/documentation/guides/push_notifications_android.htm possible.
Unfortunately, I am a complete noob in PHP and I do not know how to do it.
I beg you to help me.
The server on my computer I can raise ... what to do next, how to write the script for sending messages? I'll never know

AGK 2 !
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 30th Mar 2015 23:08 Edited at: 31st Mar 2015 16:53
Hey I looked into Notifications for you.

The script to send push notifications is given in your link.
I would do it like so:
PHP


AGK


I recieve the output of the first echo of the script, but not the notification.
I wonder if we need to call GetNotification or something in the agk code?
What is it good for... can't we just do it all with php scripts?


Using AppGameKit V2 Tier1

Login to post a reply

Server time is: 2024-04-26 15:31:22
Your offset time is: 2024-04-26 15:31:22