Check Permission Status
Check Permission Status
CheckPermissionStatus(String jsonString)
CheckPermissionStatus
is called by the merchant to get the status of a permission.
Request Attributes
ELEMENT | TYPE | DESCRIPTION |
---|---|---|
permission | string array | List of permissions. Possible permission strings: - camera - read_contact - read_storage - write_storage - location |
Sample Request
{
"permission": [
"camera",
"read_storage"
]
}
Response Attributes
ELEMENT | TYPE | DESCRIPTION |
---|---|---|
"permission_string" | integer | Status value: - -1: not_determined (applicable to iOS) - 0: denied/unauthorized - 1: authorized |
Sample Response
{
"data": {
"camera": 1,
"read_storage": 0
}
}