[TIMOB-17742] iOS: Create a better way to request Geo Permissions
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Done |
Resolution Date | 2017-06-07T22:10:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Jon Alter |
Assignee | Eric Merriman |
Created | 2014-09-23T18:38:11.000+0000 |
Updated | 2017-06-07T22:10:09.000+0000 |
Description
Geo Permissions support has been added in TIMOB-17638 . But other modules that interact with geo such as map or ibeacons need to be able to request geo permissions as well. Instead of copy/pasting code for each of these, it would be better to have a central place to request/permissions based on the keys added to the info.plist. Also need a delegate that gets called when the permissions requested are approved or rejected like
- (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status
We need to create an implementation that can be used by modules. We may also want to consider exposing something to javascript to allow developers to request this permissions, but I am not sure if this is necessary.
The conversation that resulted in this ticket and more info can be found here: TIMOB-17638
No comments