iOS: Identify User turned off Push Notification from APNS provider -
i trying find if user turned off push notification apns provider.
here scenario
- user register apns , registers token provider.
- user turns off notification settings.
- the app not running..
if provider tries send push notification device fail? or if query feedback service report it?
from testing far, apns returns success after user turned off push notification , feedback service not report token.
whereas if user uninstall app can see device token on feedback service.
the push notification workflow has been tedious no request/response model. every time send push notification, must poll apns feedback service check each device token still accepting pushes.
based on wwdc video, since ios 9, feedback if push receiver turned off push notification when send push notification.
the apns feedback server take time update push token status. looks not dynamic synchronise service, currently.
Comments
Post a Comment