incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Hii (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-884) Geolocation does not work properly on iOS 4 and below
Date Mon, 11 Jun 2012 03:19:43 GMT

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

Aaron Hii commented on CB-884:
------------------------------

I tried 1.8.0 and 1.8.0rc1, they both worked properly on iOS 5.1, but they didn't work when
I tested on iOS 4.3.2 and iOS 4.3.3. I turned on location services both on device and plist,
but I kept getting error code 1 ({{location services are disabled}}) on simulator and error
code 2 ({{the operation couldn't be completed. (kCLErrorDomain error 0.)}}) on device.
                
> Geolocation does not work properly on iOS 4 and below
> -----------------------------------------------------
>
>                 Key: CB-884
>                 URL: https://issues.apache.org/jira/browse/CB-884
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.6.0, 1.7.0
>         Environment: iPod Touch, iPhone 4
>            Reporter: Aaron Hii
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: geolocation, gps
>
> {{navigator.geolocation.getCurrentPosition}} does not work on iOS 4.3 and below, but
works perfectly fine on iOS 5 and Android. Location service and WIFI were enabled on device
but returned location update failed.
> function onSuccess() { console.log('location acquired'); }
> function onFailure() { console.log('location not found'); }
> navigator.geolocation.getCurrentPosition(onSuccess, onFailure, { enableHighAccuracy:
true });

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message