iOS: Identify User turned off Push Notification from APNS provider -


i trying find if user turned off push notification apns provider.

here scenario

  1. user register apns , registers token provider.
  2. user turns off notification settings.
  3. 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.

check link

the apns feedback server take time update push token status. looks not dynamic synchronise service, currently.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -