Page 1 of 1

App that sends image notifications to users

Posted: Wed Sep 02, 2015 12:27 pm
by Emeric
Hi,

I'm trying build an app that will send image/gifs to users as push notifications. It would send a notification as a reminder.
What would be the best way of doing that?
I understand that to send push notifications I need to use a web service, but is there a easy way to send images/gifs as notification using livecode?
Also, the app should run in the background. So the same way the alarm works. If the reminder is selected the notification will come at a particular time.

I am not that knowledgeable, so if there is something that might be important which i haven't considered or pointed out, please let me know.

Thank you for your help.

Regards,

Emeric.

Re: App that sends image notifications to users

Posted: Wed Sep 02, 2015 1:31 pm
by zaxos
I`v done this with a chat program :), steps i used:
1) setup a login system
2) the client stack checks the database every few seconds and if there is a new notification for the specific user then it gets "pushed"
You could do the same with sockets but there is no point. Hope i helped :D

Re: App that sends image notifications to users

Posted: Thu Sep 17, 2015 10:41 am
by MaxV
Livcode is google Push notification compatible.
So you must have a server (or a livecode Server), the server is connected to google Push, and you device to google push.
see http://lessons.runrev.com/m/4069/l/5931 ... th-android