[
https://issues.apache.org/jira/browse/CB-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472454#comment-13472454
]
Becky Gibson commented on CB-1603:
----------------------------------
Can you please clarify what device and iOS you are running on? The environment
in this issue says iPhone5 and iOS 6. Does this mean that when you compile the
app to include the iOS 4.2 target and run it on an iPhone5 running iOS 6 that
you see different results than when you compile with the target as 5.1 and test
on the same device? Or, does the problem only show up when running on a device
with the lower level OS? thanks
Do you need location services? Can you set EnableLocationServices to NO in the
plist(although that does cause a problem in 2.1 that has been corrected for
2.2)?
> Compass / Geolocation issue on iOS 6 (iPhone)
> ---------------------------------------------
>
> Key: CB-1603
> URL: https://issues.apache.org/jira/browse/CB-1603
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.0.0
> Environment: iPhone 5, iOS 6
> Reporter: Martin Ambrus
> Assignee: Shazron Abdullah
> Priority: Critical
> Labels: geolocation, location
>
> Applications targeted for iPhone (iOS 4.2+) using Cordova 2.0 and developed
> in XCode 4.5 automatically turn on Compass / Geolocation. User is never asked
> if they want to reveal their location to the app, so it's probably the
> Compass plugin kicking in.
> What we see is the compass arrow on the right-hand top side of iPhone screen
> (status bar). When the application closes, arrow disappears.
> This is an issue for us, as it drains considerably more battery than version
> running on iOS 5.1, where this problem does not exist.
> We have tried to remove all - Location, Compass and GeoLocation plugins from
> the Cordova.plist to no avail.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira