Push Notification Received Message
Thomas McGrath III
mcgrath3 at mac.com
Wed Nov 20 10:42:18 EST 2013
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
More information about the use-livecode
mailing list