The documentation is currently a work in progress whilst the product is in alpha.

IOSNotificationPermissions

An interface representing all the available permissions that can be requested by your app via the requestPermission API.


Properties

alert

Request permission to display alerts.

alert?: undefined | false | true;

Defaults to true.

announcement

iOS >= 13

Request permission for Siri to automatically read out notification messages over AirPods.

announcement?: undefined | false | true;

Defaults to false.

badge

Request permission to update the application badge.

badge?: undefined | false | true;

Defaults to true.

carPlay

Request permission to display notifications in a CarPlay environment.

carPlay?: undefined | false | true;

Defaults to true.

criticalAlert

criticalAlert?: undefined | false | true;

provisional

iOS >= 12

Request permission to provisionally create non-interrupting notifications.

provisional?: undefined | false | true;

Defaults to false.

sound

Request permission to play sounds.

sound?: undefined | false | true;

Defaults to true.


Copyright 2020 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.