Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17742] iOS: Create a better way to request Geo Permissions

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionDone
Resolution Date2017-06-07T22:10:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterJon Alter
AssigneeEric Merriman
Created2014-09-23T18:38:11.000+0000
Updated2017-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

Comments

No comments

JSON Source