Logging Device Tokens

Mike Kerner MikeKerner at roadrunner.com
Mon Aug 6 16:31:14 EDT 2012


Nope, you aren't crazy.  There is a reason you have to do this - because
you have to know who wants to receive push and who does not - and since
different users may have different settings, you need to be able to
customize those messages.

Think about a weather app that uses push - the users are from all over.
 You need to be able to push custom alerts/forecasts/etc.

It is a lot easier than you might think, and thousands/millions of records
are just numbers.

Yes, you need to have a server somewhere that you can talk to from your app
to send the custom settings.

You also need to check with APNS to make sure that user x is still on the
push list, since they can manually disable push in the Notifications
preferences, which you are then expected to respect (read the notes from
Apple on this).

It works great, and I just want to thank RR for implementing push/local
notifications, and for John Craig for putting up the example that made
coding it easier when I was still trying to make it work.

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