Did iOS 7.1 delete the available content (aka silent) for notifications not for newsstands?

Our application is not a newsstand content application, but it needs to receive silent push notifications so that it can update content. In iOS 7.0, we sent notifications about the availability of content, and they went fine, even without the need for sound: "," alert ":" hacks ".

Starting with iOS 7.1, content notifications are no longer delivered.

Background modes: fetch, location

Registered notification types: UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert

If I sign up for UIRemoteNotificationTypeNewsstandContentAvailability notifications, the available content will begin to receive. However, this is a confusing warning for the user, and I believe the application will be rejected.

If I use background remote notification, content availability notifications will still not be delivered.

I filed an error with Apple (rdar: // 16380367), but have not received a response yet.

So my questions are:

  • Has anyone else noticed this difference in iOS 7.1?
  • Is it even possible to receive notifications containing content without using the background content and / or registration for UIRemoteNotificationTypeNewsstandContentAvailability notifications?
+4
source share
2 answers

It seems that yes, iOS 7.1 violated the notifications for content available for applications without using the background mode for content in a newsstand, although I did not receive anything from Apple re: rdar: // 16380367. Using remote notification doesn't seem to matter.

, :

aps =     {
    alert = "";
    "content-available" = 1;
};

, .

+1

remote-notification .

0

Source: https://habr.com/ru/post/1532711/


All Articles