Permissions external object

Official Content
This documentation is valid for:

The Permission external object allows you to request runtime permission on iOS applications.

Permissions external object - Location Permissions external object - Detail

Properties

It does not have any.

Methods

Any method can receive any parameter and does not return any information. Their only purpose is to request permissions from users.


RequestUserNotificationsPermission method

Requests permission to alert the user. Typically, you make this request if your app uses local or push notifications to alert the user regarding new information involving your app.

Return value  None
Parameters None


RequestLocationPermissionWhenInUse method

Requests permission to use location services while the app is in the foreground.

Return value  None
Parameters None


RequestLocationPermissionAlways method

Requests permission to use location services whenever the app is running.

Return value  None
Parameters None


RequestRemoteNotificationsPermission method

Request permission to use remote notifications.

Return value  None
Parameters None

Warning: The RequestRemoteNotificationPermission method is deprecated, use RequestUserNotificationsPermission instead.

Events

It does not have any.

Scope

Platforms  Smart Devices (iOS)

See also




 


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.