Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5013106D6 for ; Mon, 28 Dec 2015 08:59:49 +0000 (UTC) Received: (qmail 60057 invoked by uid 500); 28 Dec 2015 08:59:49 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 60028 invoked by uid 500); 28 Dec 2015 08:59:49 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 60017 invoked by uid 99); 28 Dec 2015 08:59:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2015 08:59:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8D7322C1F54 for ; Mon, 28 Dec 2015 08:59:49 +0000 (UTC) Date: Mon, 28 Dec 2015 08:59:49 +0000 (UTC) From: "Sergey Grebnov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-6529) Cordova geolocation API issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6529?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Grebnov updated CB-6529: ------------------------------- Labels: features ios javascript newbie triaged (was: features javascri= pt newbie) > 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 pr= ovided 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 h= ere. 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 A= PI. If I call external scripts (google maps) on the first load, Apple App s= tore will be sure to reject my app. Here is my stackoverflow post on it:=20 > http://stackoverflow.com/questions/23292335/why-does-phonegap-geolocation= -onsuccess-never-fires-the-first-time-around=20 > I really hope there is something missing here and I=E2=80=99ve forgot to = implement it or something. I'm not the only one with the problem. It's happ= ening 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