incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becky Gibson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1603) Compass / Geolocation issue on iOS 6 (iPhone)
Date Tue, 09 Oct 2012 18:48:03 GMT

    [ https://issues.apache.org/jira/browse/CB-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472623#comment-13472623
] 

Becky Gibson commented on CB-1603:
----------------------------------

I can't duplicate this.  I have an iPhone 4S that has been updated with iOS 6.  I have a Cordova
2.0 app with EnableLocationServices set to no.  I build this in Xcode 4.5 on Mountain Lion
with the Base SDK set at Latest iOS (iOS 6), Build Active Architecture Only set to yes, and
iOS Deployment target set to iOS 4.3.  I made the necessary architecture changes to armv7
in order to build. 

I do not see the compass arrow when I launch and run the app.  I have the option to request
the location and if I call into the Cordova location api I get prompted with the approval
dialog which I can accept or reject. My response is set in the Settings Privacy Location entry
for my app. If I accept the location request and get the location, I see the compass arrow
displayed for several seconds and then it disappears.   I went through the code (both 2.0
and edge) and I can't see why the location arrow would get turned on for the duration of the
app. Cordova does turn on location at startup IF enableLocationServices is set to yes. In
that case I will be prompted to accept location services at first run and the compass arrow
disappears after several seconds.  

I also don't see this issue in an app built from the edge sources. 

As an additional debugging note to myself - if you have location services turned on for the
Reminder app the compass arrow will always be displayed. 
                
> 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

Mime
View raw message