Push Notification Received Message

Mike Kerner MikeKerner at roadrunner.com
Wed Nov 20 10:16:02 EST 2013


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



More information about the use-livecode mailing list