static requestPermissions(permissions?)
Requests notification permissions from iOS, prompting the user's dialog box. By default, it will request all notification permissions, but a subset of these can be requested by passing a map of requested permissions. The following permissions are supported:
alert
badge
sound
If a map is provided to the method, only the permissions with truthy values will be requested.
This method returns a promise that will resolve when the user accepts, rejects, or if the permissions were previously rejected. The promise resolves to the current state of the permission.
Please login to continue.