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 7A2FD18BA8 for ; Sun, 17 Jan 2016 22:20:40 +0000 (UTC) Received: (qmail 74316 invoked by uid 500); 17 Jan 2016 22:20:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 74227 invoked by uid 500); 17 Jan 2016 22:20:40 -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 74089 invoked by uid 99); 17 Jan 2016 22:20:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jan 2016 22:20:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ED2612C1F5D for ; Sun, 17 Jan 2016 22:20:39 +0000 (UTC) Date: Sun, 17 Jan 2016 22:20:39 +0000 (UTC) From: "Jesse Monroy (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-10371) phonegap build keeps firing PositionError when app is launched with GPS state OFF and then turning ON still in the APP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103948#comment-15103948 ] Jesse Monroy edited comment on CB-10371 at 1/17/16 10:20 PM: ------------------------------------------------------------- FYI: Petra V. in the Nitobi forum points out that the latest plugin (cordova-plugin-geolocation@2.0.0) may fix this issues (or be creating the issue). But we have no way to test this as because in all likelyhood this plugin requires _Cordova Android 5.4.0_, but the current _Phonegap Build_ is using cli-5.2.0 - which pins _Cordova Android ~4.1.0 (4.1.1)_. Jesse was (Author: jessemonroy650): FYI: Petra V. in the Nitobi forum points out that the latest plugin (cordova-plugin-geolocation@2.0.0) may fix this issues (or be creating the issue). But we have no way to test this as because in all likelyhood this plugin requires *Cordova Android 5.4.0*, but the current *Phonegap Build* is using cli-5.2.0 - which pins *Cordova Android ~4.1.0 (4.1.1)*. Jesse > phonegap build keeps firing PositionError when app is launched with GPS state OFF and then turning ON still in the APP > ---------------------------------------------------------------------------------------------------------------------- > > Key: CB-10371 > URL: https://issues.apache.org/jira/browse/CB-10371 > Project: Apache Cordova > Issue Type: Bug > Affects Versions: 3.5.0 > Reporter: Sandro Di Bernardi > Priority: Minor > > I would like to find a way to detect mobile geolocation state change when an app is already launched ? example : geoloc if OFF , I launch my APP , I get an error 1 = PositionError.PERMISSION_DENIED as expected . Then I turn my geoloc ON (still with my APP running) , I try to check again , and still get error 1 ... which is now wrong . > Contrary is OK : Geoloc is ON , and try to turn it OFF after my APP has been previously launched , then I receive an error 3 = PositionError.TIMEOUT which is correct . > Can you please answer for my first example ? and tell me how to solve this ? > best regards -- 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