pushnotification - keeping the mobile id database "clean"
Posted: Sun Jul 08, 2018 1:37 am
Got push notifications working (fist pump moment when that little red circle with a 1 appeared on my iphone app). Then I got worried about someone turning notifications off and my app continuing to bombard them as I looped through the list of mobile ids that had been captured and stored in my mysql database. I read a post by Mikey referring to keeping the mobile id (current) stored with the device and checking to see if it had changed... then I could get rid of the old id and update it - I liked that approach.
My Question
How can I tell if someone has opted out of notifications - or is it unimportant because the APN server will only send messages to those who have opted in on their device for push notifications for my app... regardless of whether I send one to that Mobile ID?
Regards
Mark Christie
My Question
How can I tell if someone has opted out of notifications - or is it unimportant because the APN server will only send messages to those who have opted in on their device for push notifications for my app... regardless of whether I send one to that Mobile ID?
Regards
Mark Christie