Logging Device Tokens
Magicgate Software - Skip Kimpel
skip at magicgate.com
Mon Aug 6 18:55:44 CDT 2012
I am also interested in how others are accomplishing this. Like Dan,
I think I am over-thinking this whole procedure and it is probably
more simple than I am making it out to be.
On Mon, Aug 6, 2012 at 5:29 PM, Dan Friedman <dan at clearvisiontech.com> wrote:
> THANK YOU for the information. I am wondering what you use to log the Tokens? Do you have the app fire a PHP script on your server that writes it down? What are you using to store the data? Flat files, like XML? Or a database?
> Thanks for the advise!
>> 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.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode