Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2511] Add authorization to geolocation on iOS

GitHub Issuen/a
TypeNew Feature
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:18.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M04
ComponentsiOS
Labelsfeature, geolocation, ios
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-15T03:21:37.000+0000
Updated2011-04-17T01:59:18.000+0000

Description

iOS 4.2 supports CLAuthorizationStatus, indicating to the application whether or not it has been authorized to access geolocation (in addition to whether or not the device is geolocation-enabled). Add in an accessor for it and the relevant properties, and return a sensible value on pre-4.2 devices.

Comments

  1. Jeff Haynie 2011-04-15

    (from [52a4db34a1625f353c018d8dd3a982828b9c4358]) [#2511 state:fixed-in-qa] Addition of location enabled checking for iPhone. Note that location services settings must still be made BEFORE it will return useful information. https://github.com/appcelerator/titanium_mobile/commit/52a4db34a1625f353c018d8dd3a982828b9c4358"> https://github.com/appcelerator/titanium_mobile/commit/52a4db34a162...

  2. Blain Hamon 2011-04-15

    KS correctly reports when I have denied access.

JSON Source