Are Silent Remote Notifications possible if the user has disabled clicking on the application?

In my settings tab:

  • I have a special switch that can be disabled or enabled based on the API response.
  • From the website only the administrator has the right to enable / disable.
  • I can go to the API every time during the setup to check the current settings for the user, but there are a couple of drawbacks, for example, if the user is already installed, then he will not update the user interface and each time call the api in the settings tap doesn 't is the perfect solution.

I think the best solution is to send a quiet push notification, which I can use to trigger an API call to update the settings UI when necessary.

But if the user has disabled the push notification, do I still get silence? What is the recommended approach for handling such situations?

+34
ios objective-c push-notification notifications
Jun 04 '15 at 12:50
source share
3 answers

Short answer yes

A fascinating new opportunity for application developers in iOS 8 is that Apple will now deliver soft clicks, even if the user has refused notifications. In addition, the “silent push” is no longer suitable only for applications in Newsstand. Each application can take this opportunity to update content in the background, creating the most modern, responsive experience at the moment when the user opens the application.

Though...

Users still have the option to turn off the ability of your applications to handle the silent push using the Update Background App item. Even though the Apple Push Notification (APN) service will provide the marked “content available” on your phone, the OS will not wake your application to receive it, effectively dropping it to the floor. However, abandoning the “Background Application Upgrade” is a lesser-known feature not directly related to notifications. You do not get access to this preference in the notification settings - you can find it in the General section> Update Background Application.

Keep this in mind when creating your application.

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

+52
Jul 6 '15 at 4:40
source share
— -

This matrix can help. The left side shows whether the didReceiveRemoteNotification: method is called or not. The other two columns are related to application configuration. Settings → YourApp. If your application supports notifications and background updating of the application. Look into the matrix to check when your application gets a quiet boost.

+21
Sep 07 '16 at 15:15
source share

Other answers are good. But they are not official answers.

The official response to the video “ What's New in WWDC 2015 Notifications” :

Silent notifications are enabled by default. The user does not need to approve yours - does not give permission to your application to use them, and you can simply start using them without asking the user for permission. But silent notifications are a background update mechanism for the application . At any time, you know that the user can go into the settings and disable them. Thus, you cannot depend on the fact that they are always available. You do not know if the user has disabled them, and you no longer receive a notification. It also means that silent notifications are delivered with the maximum return. This means that when the notification arrives on the user device, the system is about to make some choices.

For more information see this image and this answer.

0
Feb 23 '18 at 19:16
source share



All Articles