Author: Li Xiaohang, senior engineer of Aurora

directory

preface

Interruption Level

APNS Request API

Regular notice Summary

Notes on timeliness notices

1. Enable corresponding capabilities in Xcode

2. The app needs to support this permission on the official website

Advice for developers

Write in the last

preface

Last time we shared a preliminary iOS15 push new features, it was still in the early stages of an iOS15, many features can not be used and confirmed. With Xcode13 officially released on September 21, 2021, this article will take a full look at the new push features for iOS15 based on Xcode13.

Interruption Level

After the official release, we have a better idea of what notifications look like on iOS15. In general, iOS15 classifies notifications with interruptionLevel.

The interruption level determines The degree of interruption associated with The notification.

Basically, different levels of notification are set to achieve different responses. The interrupt level is closely related to the new focus mode in iOS15. If you don’t know the focus mode, please refer to our last article.

There are currently four interrupt levels:

Passive, Passive

People can check information, such as restaurant recommendations, at their leisure.

Added to the notification list; does not light up screen or play sound

Passive notifications do not light up the phone and do not play sound.

Active (Active, default)

People may want to know the information when it arrives, such as the score update for their favorite sports team.

Presented immediately; Lights up screen and may play a sound

Active notifications light up the phone and play a sound, which is the default and was the default before iOS15.

In focus mode, the activity type notification features the same as the passive type.

Time Sensitive

Information that directly affects users and requires their immediate attention, such as account security issues or package delivery.

Presented immediately; Lights up screen and may play a sound; May be presented during Do Not Disturb him.

Time-sensitive notifications, which have the same nature as active notifications, will make the phone light up and play a sound; May be displayed in do not Disturb mode (focus mode).

In fact, when the time-sensitive type of notification is turned on in focus mode, the time-sensitive type of notification will display normally. Same as passive if not open.

As shown in the figure, after enabling timeliness notifications, they do not become passive notifications with the focus mode turned on. Apps that are configured to allow notifications are not affected by focus mode.

Critical = Critical

Urgent information relating to personal health and public safety that directly affects users and requires their immediate attention. Critical notifications are rare and usually come from governments and public agencies or healthcare applications. You must have access to it. (Special application required)

Presented immediately; Lights up screen and plays sound; Always presented during Do Not Disturb; Bypasses mute switch; Includes default critical alert sound if no sound provided

It displays immediately, lights up, plays sound, has no do not Disturb mode, and can bypass mute and use a default sound if no sound is set.

Critical notifications require special permission requests, and from what is known, these types of notifications, a little like the old alert notifications, cause phones to vibrate to play sound and display, suitable for emergencies such as earthquakes.

APNS Request API

In previous Beta releases, because Apple did not update the documentation, we did not know how to set the interruptionLevel parameter in the interface that sends notifications.

Now the document has been updated and the new parameters are as follows.

See the Official Apple documentation generating_a_remote_Notification.

Regular notice Summary

After setting the corresponding App, the message sent by the set App will not be displayed in the notification bar, but will be displayed centrally in the set time. Timeliness notices are not affected.

Relevance – Score can be used in this functionality, and high scores are shown in the summary.

We can’t see how this works in the beta, but here’s what it looks like in the official version

Relevance – Score is still not currently available, and extensive testing found that relevance- Score did not change the summary display as expected. Check the official website and it may still be a bug.

The following figure shows the corresponding problems

Notes on timeliness notices

The timeliness notification will have a special display effect, with a prompt word above the App name, as shown in the picture below

Timeliness notifications are not affected by summary status and can be broken by turning on the switch in focus mode

Timeliness notification cannot be directly used by developers. You need to configure corresponding permissions

1. Enable corresponding capabilities in Xcode

2. The app needs to support this permission on the official website

Users of the above two apps have no perception, but they need to be opened by the developer to use them.

Time-sensitive notifications will prompt the user whether to disable time-sensitive notifications when displayed for the first time when focus mode is turned on.

Timeliness notices are more sensitive than ordinary notices.

Developers can change the level of notifications in Extension.

Advice for developers

IOS15 added the change of the interrupt level is a very important change, a reasonable setting of push interrupt level is very important for an application, push experience will directly affect the click rate of push messages, and then affect user activity. So adapting to iOS15 is really important for any APP.

Aurora SDK began to prepare adaptation work in iOS15 Beta1 version, so far it has been completed, developers can integrate JPush SDK 4.4.0 and above to complete their APP push adaptation on iOS15. You can also use push notifications on iOS15 by using the API interface or by filling in the corresponding interrupt level on our background portal.

Write in the last

When we were working on iOS15, we had some ideas of our own about push in iOS15.

The iOS15 push update is a clear push classification, according to apple’s inference, if the push experience is better, it must be able to improve the click rate; On the other hand, if the push experience is not good, users may simply turn off the push.

So how do developers rate push in this context?

If you want to accurately and intelligently rate your push, it will naturally lead to the resource demands of big data and algorithms, and it is very likely that developers will not be able to rate their push due to various limitations. Therefore, we found that maybe we can use our push data and algorithm team over the years to grade the content of notifications to realize more intelligent push notifications and bring better experience to users, so as to reduce the closing rate of users’ push permission and improve the click rate and delivery rate of push notifications.

Maybe one day in the future, we’ll do that.