You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/12/29 16:04:49 UTC

[jira] [Resolved] (CB-6529) Cordova geolocation API issue

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

Sergey Grebnov resolved CB-6529.
--------------------------------
    Resolution: Won't Fix

This issue seems to be old and does not have enough information. Ryan, feel free to re-open if it is still actual.

> Cordova geolocation API issue
> -----------------------------
>
>                 Key: CB-6529
>                 URL: https://issues.apache.org/jira/browse/CB-6529
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>    Affects Versions: 3.4.0
>         Environment: Testing on iOS7 on iPad 3 and using iOS Simulator provided by Xcode 5.1
>            Reporter: Ryan Archer
>              Labels: features, ios, javascript, newbie, triaged
>
> Hi everyone! Shazron has recommended I post the issue I am experiencing here. I am using Cordova 3.4 and calling Geolocation API.
> It is never successful the first time around, it always times out throws onError and I have to refresh the whole page for it to work the second time around. I am not calling geolocation on the onDeviceReady as I am calling the API on a separate view (multi page app with JQM) and also Google Maps API. If I call external scripts (google maps) on the first load, Apple App store will be sure to reject my app. Here is my stackoverflow post on it: 
> http://stackoverflow.com/questions/23292335/why-does-phonegap-geolocation-onsuccess-never-fires-the-first-time-around 
> I really hope there is something missing here and I’ve forgot to implement it or something. I'm not the only one with the problem. It's happening on Android environment too. I hope there is a way we can make it more reliable and not rely on a refresh action.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org