App Notifications - Audible Alert Schedule

Hi all,

First time poster :)

I am interested to understand if it is possible to set a notification alert within an application.

I am building an application on internet connectivity health but want users to be able to choose a time when the notification is audible or silent. (appreciate you can set the device to a status where notifications are silenced)

Within the application if they choose to be alerted to critical alerts, I would like them to be able to choose a time period when the alerts should be silent or when they should be audible. Who wants alert on your internet at 2am when Maintenace windows open up?

Cheers Dan

If you mark a notification as Critical Alert, it will override all Focus, Volume, and Mute settings user may have set and will be break through them all and be audible at the loudness level you set in the notification.

If you don't want this to happen, you should not be using Critical Alerts. Also, your use case may not be eligible to receive the special entitlement to allow this after all.

What you should be using instead is the UNNotificationInterruptionLevel.active setting, where the notification will light up the screen and can play a sound if not muted, and will respect the systemwide notification settings and focus modes like Sleep, Work, etc. where the app has been set to be silenced in those modes.

This way the user can sleep through system maintenance and still get their news alerts by freely configuring your app into their focus schedules.

Ref: Focus on iPhone


Argun Tekant /  DTS Engineer / Core Technologies

App Notifications - Audible Alert Schedule
 
 
Q