[TIMOB-2511] Add authorization to geolocation on iOS
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M04 |
Components | iOS |
Labels | feature, geolocation, ios |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:21:37.000+0000 |
Updated | 2011-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.
(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...
KS correctly reports when I have denied access.