Problem with provisional push notifications in iOS

Hi, I've noticed the following problem with provisional push notifications.

On iOS 15 the "Turn Off..." button works fine, but the "Keep..." button doesn't save the settings. "Deliver Immediately" option doesn't do anything and "Deliver in Scheduled Summary" hides the buttons, but they appear again in next notification.

On iOS 13 and 14 those buttons are not shown at all.

Tested on two different projects, Xcode 12.5.1 and 13.0, Airship 14.6.2, 14.8.0 and 16.0.0, different devices with iOS 13, 14 and 15.

All with basic Airship configuration and automatic integration. Provisional notifications are set like this:

Airship.push.notificationOptions = [.alert, .badge, .sound, .provisional]
Airship.push.userPushNotificationsEnabled = true
 
Does anyone have any idea why this is happening and how to fix it? Thanks!

Didn't find what you were looking for?

New post

Comments

3 comments

  • Hi Anton,

    Thanks for reaching out to Airship Technical Support! "Deliver Immediately" and "Deliver in Scheduled Summary" are controls that are not modified via the Airship SDK. Hence, we don't control that aspect. In addition, it looks like that is a feature included within iOS 15 and is not available for iOS 13 and iOS 14. 

    Provisional notifications should not play a role with respect to scheduled summary. Could you help us understand a bit further what do you mean by "doesn't save the settings"?

    Regards,

    Arushi S.
    Technical Support Engineer
    Airship | San Francisco, CA

    Comment actions Permalink
  • Looks like a bug in iOS 15, I have reported it to Apple.

    Comment actions Permalink
    0
  • Hi Arushi,

    Yes, I did some more testing and realized the problem was not Airship related.

    The provisional notifications with Keep button are available since iOS 12. It should let you make a choice an save it, for example fully allow the notifications, but looks like in iOS 15 it doesn't work. Anyway I have submitted a bug report to Apple so hopefully they will fix it.

    Thanks!

    Comment actions Permalink
    0

Please sign in to leave a comment.