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 8310E188D6 for ; Mon, 7 Dec 2015 22:25:11 +0000 (UTC) Received: (qmail 90487 invoked by uid 500); 7 Dec 2015 22:25:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 90451 invoked by uid 500); 7 Dec 2015 22:25:11 -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 90431 invoked by uid 99); 7 Dec 2015 22:25:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2015 22:25:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E68AB2C14F7 for ; Mon, 7 Dec 2015 22:25:10 +0000 (UTC) Date: Mon, 7 Dec 2015 22:25:10 +0000 (UTC) From: "Christoph Wanja (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9716) cordova-plugin-geolocation clearWatch seems not to stop GPS tracking 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-9716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045885#comment-15045885 ] Christoph Wanja commented on CB-9716: ------------------------------------- Just worked on this old issue today and fixed it. It was my fault, my openlayers module created his own geolocation listener. So i had two of them but only killed one with stopLocation. > cordova-plugin-geolocation clearWatch seems not to stop GPS tracking > -------------------------------------------------------------------- > > Key: CB-9716 > URL: https://issues.apache.org/jira/browse/CB-9716 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Geolocation > Affects Versions: 5.1.1 > Environment: Android 4.4.4 > Reporter: Christoph Wanja > Priority: Minor > > Android 4.4.4, GPS enabled > When i start checking geolocation with navigator.geolocation.watchPosition(), and want to stop it, clearWatch stops delivering geolocation information but the GPS symbol doesn't disappear. > After closing the app, GPS symbol disappears. > Correct behaviour? What about battery lifetime? Is it just the symbol in the status bar or is GPS still activated and delivers new choords? > ps: cordova.exec(null, null, "Geolocation", "stopLocation", []) doesn't work either -- 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