Push Notification Received Message

Mike Kerner MikeKerner at roadrunner.com
Wed Nov 20 10:52:39 EST 2013


But I believe that is incorrect - I can't test it right now, but I believe
that the payload is delivered if your app is closed or if you tap on the
message in the notification center.

I eventually took to not using the payload until LC fixes this problem.


On Wed, Nov 20, 2013 at 10:50 AM, Mike Kerner <MikeKerner at roadrunner.com>wrote:

> not yet.
>
>
> On Wed, Nov 20, 2013 at 10:42 AM, Thomas McGrath III <mcgrath3 at mac.com>wrote:
>
>> Thanks Mike, I was looking through the bugs and didn’t find any on this.
>> Also, Do you get the payload after clicking on the Push message in the
>> notification center which then launches your app? I don’t get the message
>> either way.
>>
>>
>>
>> Soooo, does this mean that No One that is using Push Notifications in
>> their apps are receiving the payload while the app is open OR after the
>> Push is selected in the notification center to launch the app? None?
>>
>>
>> Thanks again,
>>
>> Tom
>>
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> mcgrath3 at mac.com
>>
>> On Nov 20, 2013, at 10:16 AM, Mike Kerner <MikeKerner at roadrunner.com>
>> wrote:
>>
>> > I filed a bug report on this.  I think it's 10901.  You will also note
>> that
>> > if you open the notification center and tap on a push message, even if
>> your
>> > app is open it will process the message as if it was not open.
>> >
>> > Just an FYI, also see
>> > https://developer.apple.com/library/ios/technotes/tn2265/_index.html
>> > There are lots of interesting details in there.  One of the ones that
>> made
>> > my head twist nearly off was the fact that only one message is kept in
>> the
>> > queue by Apple in the event of nondelivery - so let's say your app goes
>> off
>> > the grid - maybe into airplane mode - and in the interim three messages
>> are
>> > sent to your app.  Apple recognizes that they were not delivered, but
>> only
>> > the last one is held for redelivery when the app comes back online.
>> >
>> > By the way, thanks again to Neil for working with me on the vagaries of
>> > push.
>> >
>> >
>> > On Wed, Nov 20, 2013 at 9:54 AM, Thomas McGrath III <mcgrath3 at mac.com
>> >wrote:
>> >
>> >> I am not getting the actual Push message when the app is open. I get
>> the
>> >> message when the app is closed just not when its open.
>> >>
>> >> on pushNotificationReceived tMessage
>> >>     answer "Push Notification Received:" && quote & tMessage & quote
>> with
>> >> "Okay"
>> >>      put tMessage into field "PNSResult"
>> >> end pushNotificationReceived
>> >>
>> >> In this case tMessage is empty every time. I get — Push Notification
>> >> Received: “” so it is firing just not getting the message.
>> >>
>> >> Can anyone confirm or deny this?
>> >>
>> >> Thanks,
>> >>
>> >> Tom
>> >>
>> >>
>> >> -- Tom McGrath III
>> >> http://lazyriver.on-rev.com
>> >> mcgrath3 at mac.com
>> >>
>> >> _______________________________________________
>> >> 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
>>
>
>
>
> --
> 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."
>



-- 
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