ActionsrequestPermissionVersion: 4.60On 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 push permission Goal: Setting the push permission to get future pushes. To achieve this the following code can be used: { "type": "requestPermission", "params": { "permissions": [ "push" ], "onSuccessType": "return", "onSuccess": "requestPushPermissionSuccess", "onErrorType": "breakingEvent", "onError": "requestPushPermissionError" }} The popup shown may vary depending on the version and give you different options for how you want to handle the permission. Result: A requestPermission action has been created.