handling push notifications

Mike Kerner MikeKerner at roadrunner.com
Thu Oct 16 20:51:56 EDT 2014


you don't.  There are several open bug reports on push, and that's one of
them.  If the app isn't running and the user opens it via the springboard,
no payload.  If they open it via the notification center, payload.

On Thu, Oct 16, 2014 at 7:02 PM, Terry Judd <terry.judd at unimelb.edu.au>
wrote:

> Just starting with push notifications and have managed to get a simple
> example working using the livecode example code and AWS’s SNS service. So
> far so good!
>
> Now, in the livecode example it an ‘alert’ and a ‘payload’ are sent. The
> payload is received if the app is open and the alert is displayed if it
> isn’t. How do you capture the payload if the app isn’t open – for example
> if you wanted to display it when the user taps the notification alert?
>
> Terry…
>
> Dr Terry Judd<
> http://scholar.google.com.au/citations?user=XC5s6wwAAAAJ&hl=en>
> Senior Lecturer in Medical Education
> Medical Education Unit<http://medicine.unimelb.edu.au/medical-education>
> The University of Melbourne
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list