[ https://issues.apache.org/jira/browse/CB-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472512#comment-13472512 ]
Martin Ambrus edited comment on CB-1603 at 10/9/12 4:23 PM: ------------------------------------------------------------ Sorry for the confusion, my target iOS is set to 4.3 (which is the lowest XCode 4.5 supports), not 4.2 as I previously written. The target iOS is therefore always set to 4.3. This setting does not change. Then I compile and run the application on an iPhone 4S with iOS 5.1 installed, where everything works as expected. However, once I run the same application, with the same target (set to 4.3) on an iPhone 5 with iOS 6 installed, I see the compass arrow on the top right-hand side of the status bar. This arrow does not appear on iOS 5.1 and seems to be only an issue with iOS 6, as I have now tried to upgrade my iPhone 4S to iOS6 and now it has the same issue as well. Also, EnableLocationServices is already set to NO. I did not try to turn it on, as the application does not require any location-wise functionality. was (Author: martin-ambrus): Sorry for the confusion, my target iOS is set to 4.3 (which is the lowest XCode 4.5 supports), not 4.2 as I previously written. The target iOS is therefore always set to 4.3. This setting does not change. Then I compile and run the application on an iPhone 4S with iOS 5.1 installed, where everything works as expected. However, once I run the same application, with the same target (set to 4.3) on an iPhone 5 with iOS 6 installed, I see the compass arrow on the top right-hand side of the status bar. This arrow does not appear on iOS 5.1 Also, EnableLocationServices is already set to NO. I did not try to turn it on, as the application does not require any location-wise functionality. > 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