[ 
https://issues.apache.org/jira/browse/CB-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

thomas fischer updated CB-7875:
-------------------------------
    Description: 
Using the cordova-plugin-geolocation: 0.3.10, I have a timeout error with 
watchPosition. (error.code3)
I have to set the timeout:infinity to keep the Gps Signal.

"This API is based on the W3C Geolocation API Specification, and only executes 
on devices that don't already provide an implementation."

s this really based on the W3C Geolocation API ? 

When i uninstall this plugin and use geolocation with the W3C API I have no 
problem of timeout.

navigator.geolocation.watchPosition(successCallback, errorCallback, 
{enableHighAccuracy:true, maximumAge:3000, timeout:5000});







  was:
I can't use the webview html5 geolocation Api in with IOS8.
It works on IO7, but on IOS8, the iphone doesn't ask for permission to use gps 
and nothing happened: no position found, no error...

edit: Location Manager fails to start in iOS 8 
http://nevan.net/2014/09/core-location-manager-changes-in-ios-8/

So I install the cordova-plugin-geolocation: 0.3.10.
And now I get position on both IOS7 and IOS8, but geolocation.watchPositon stop 
after a short delay
I have to throw watchPosition again and again.

navigator.geolocation.watchPosition(successCallback, errorCallback, 
{enableHighAccuracy:true, maximumAge:3000, timeout:5000});



> Geolocation issue with IOS
> --------------------------
>
>                 Key: CB-7875
>                 URL: https://issues.apache.org/jira/browse/CB-7875
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0
>         Environment: cordova version 4.0.0
> cordova-plugin-geolocation: 0.3.10
> xCode 6
> IOS7 - IOS8
>            Reporter: thomas fischer
>
> Using the cordova-plugin-geolocation: 0.3.10, I have a timeout error with 
> watchPosition. (error.code3)
> I have to set the timeout:infinity to keep the Gps Signal.
> "This API is based on the W3C Geolocation API Specification, and only 
> executes on devices that don't already provide an implementation."
> s this really based on the W3C Geolocation API ? 
> When i uninstall this plugin and use geolocation with the W3C API I have no 
> problem of timeout.
> navigator.geolocation.watchPosition(successCallback, errorCallback, 
> {enableHighAccuracy:true, maximumAge:3000, timeout:5000});



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to