handling push notifications

Terry Judd terry.judd at unimelb.edu.au
Fri Oct 17 17:42:00 EDT 2014


OK, it seems like you do get the payload when opening the app from the
notification centre on iOS8 but not iOS6. I’m not sure about iOS7 because
I haven’t got another device that I can test it on. Does anyone know?

Terry...

On 17/10/2014 12:31 pm, "Terry Judd" <terry.judd at unimelb.edu.au> wrote:

>That¹s disappointing. Just to get this straight, the only time I get the
>payload is if the app is open - either when the notification arrives or if
>I select it from the Œlist¹ available when swiping down from the top of
>the screen. If the app isn¹t open then no payload via any method.
>
>Terry...
>
>On 17/10/2014 11:51 am, "Mike Kerner" <MikeKerner at roadrunner.com> wrote:
>
>>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."
>>_______________________________________________
>>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
>
>
>_______________________________________________
>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



More information about the use-livecode mailing list