Skip to main content

Check Permission Status

Check Permission Status

CheckPermissionStatus(String jsonString)

CheckPermissionStatus is called by the merchant to get the status of a permission.

Request Attributes

ELEMENTTYPEDESCRIPTION
permissionstring arrayList of permissions. Possible permission strings:
- camera
- read_contact
- read_storage
- write_storage
- location

Sample Request

{
"permission": [
"camera",
"read_storage"
]
}

Response Attributes

ELEMENTTYPEDESCRIPTION
"permission_string"integerStatus value:
- -1: not_determined (applicable to iOS)
- 0: denied/unauthorized
- 1: authorized

Sample Response

{
"data": {
"camera": 1,
"read_storage": 0
}
}