You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It would be very helpful to take advantage of iOS' provisional notification authorization. This allows skipping the permission pop-up for low-priority local notifications.
To request provisional authorization, add the provisional option when requesting permission to send notifications.
let center = UNUserNotificationCenter.current()
center.requestAuthorization(options: [.alert, .sound, .badge, .provisional]) { granted, error in
if let error = error {
// Handle the error here.
}
// Provisional authorization granted.
}
Thanks for the diligent work.
The text was updated successfully, but these errors were encountered:
Hi,
It would be very helpful to take advantage of iOS' provisional notification authorization. This allows skipping the permission pop-up for low-priority local notifications.
Thanks for the diligent work.
The text was updated successfully, but these errors were encountered: