ios - Is Silent Remote Notifications possible if user has disabled push for the app? -


in settings tabbar:

  1. i have feature specific switch can turned off or on based on api response.
  2. from website admin authorized turn on/off.
  3. i can make /user api call everytime on settings tap check current settings user there couple of disadvantage if user on setting not update ui , calling api everytime on settings tap doesn't sounds perfect solution.

i think better solution send silent push notification can use make api call update settings ui whenever needed.

but if user has disabled push notification still receive silent push ? recommended approach handle such situations ?

short answer, yes

the exciting new opportunity app developers in ios 8 apple deliver “silent” pushes if user has opted out of notifications. also, “silent push” no longer newsstand apps. every app can take advantage of ability refresh content in background, creating up-to-date, responsive experience possible, moment user opens app.

although...

users still have ability switch off app’s ability process “silent push” means of “background app refresh” control. though apple push notification service (apns) deliver push marked “content-available” phone, os not wake app receive it, dropping on floor. however, opting out of “background app refresh” lesser-known capability not directly associated notifications. don’t access preference in notifications settings--it’s located under general > background app refresh screen.

keep in mind when building application.

source: https://www.urbanairship.com/blog/watch-list-ios-8-opt-in-changes


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -