Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1603

Compass / Geolocation issue on iOS 6 (iPhone)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.1.0
    • 2.3.0
    • cordova-ios
    • iPhone 5, iOS 6

    Description

      Applications targeted for iPhone (iOS 4.3+) using Cordova 2.1 and developed in XCode 4.5 automatically turn on Compass / Geolocation. This is true only for devices that have iOS 6 installed. 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.

      Attachments

        1. index.html
          2 kB
          Michal Mocny

        Activity

          People

            shazron Shazron Abdullah
            martin-ambrus Martin Ambrus
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: