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:
Please note this method does nothing on versions lower than iOS 12.