All Collections
Push Notifications
iOS
Provisional authorization on iOS 12
Provisional authorization on iOS 12

Provisional Authorization allows you to send trial notifications without receiving the user's consent first.

Baptiste avatar
Written by Baptiste
Updated over a week ago

Before iOS 12, you had to request authorization with a system request to send notifications on iOS devices. To increase the opt-in rate of users registered in the push notifications. Apple has decided to implement the provisional authorization. 

Provisional authorization is an automatic trial of push notifications from your app. So, you don’t have to ask the user for permission to deliver this kind of notifications. It can help your users make a more informed decision on whether they want these notifications or not.

Contrary to classic push notifications, ones sent using the provisional authorization will be delivered quietly and only show up in the notifications centre, and they don't play a sound or vibrate. They also won't show up on the lock screen.

  

How to add this feature?

You can now ask for provisional notification authorization by calling in your code:

 +[BatchPush requestProvisionalNotificationAuthorization]

Please note this method does nothing on versions lower than iOS 12.


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?