ActionsrequestPermissionVersion: 4.62On this pagerequestPermission Requests desired permissions to access guarded system resources like camera, position, etc. Depending on the operating system and version, this can result in a system prompt asking the user to accept or prevent this access. noteThe exact mechanics of a permisson and the linked access can vary widely depending on the operating system and version of the device. Field Configurations KeyTypeDescriptionDefault Value"params" (required)Objectundefinednull Parameters KeyTypeDescriptionDefault Value"async"BooleanSpecifies whether the action should perform asynchronously.null"onError"StringEvent that is fired if the request was not successful.null"onErrorType"OnErrorTypeType of event that will be fired on error.null"onSuccess"StringEvent that is fired if the request was successful.null"onSuccessType"OnSuccessTypeType of event that will be fired on success.null"permissions" (required)ArrayPermissions, which should be requested. There can be Android or iOS only permissions.null Inherited From Base ActionBase ActionField ConfigurationsKeyTypeDescriptionDefault Value"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null"leadingDelimiter"StringThe leading mustache delimiter to use.null"params"Object,ArrayObject containing the properties of the action.null"trailingDelimiter"StringThe trailing mustache delimiter to use.null"type"StringType name of the action.null Examples Example 1: Request the audio permission Show ExampleHide ExampleA system pop-up is opened requesting the specified permission.{ "type": "requestPermission", "params": { "permissions": [ "audio" ], "onSuccess": "onPermissionSuccess", "onError": "onPermissionError" }}