Logging Device Tokens
Dan Friedman
dan at clearvisiontech.com
Mon Aug 6 17:29:01 EDT 2012
Mike,
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!
-Dan
> 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.
>
More information about the use-livecode
mailing list