[TIMOB-20084] Provide authorizationStatus property on requestPermissions callbacks
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-04-19T06:30:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.1.0 |
Components | iOS |
Labels | Android, iOS |
Reporter | Srikanth Sombhatla |
Assignee | Srikanth Sombhatla |
Created | 2015-12-02T08:33:14.000+0000 |
Updated | 2016-04-19T06:30:52.000+0000 |
Description
Provide authorizationStatus property on requestPermissions callback when requesting permissions for device features. This should map to AUTHORIZATION_* properties defined in camera, geolocation, contacts and calendar modules. iOS and Android should be in parity.
This seems redundant since the authorisation status can be fetched from the following properties. Contacts https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Contacts-property-contactsAuthorization Geo https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-locationServicesAuthorization Camera https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media-property-cameraAuthorization