Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 248199756 for ; Thu, 19 Apr 2012 23:25:03 +0000 (UTC) Received: (qmail 38146 invoked by uid 500); 19 Apr 2012 23:25:03 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 38102 invoked by uid 500); 19 Apr 2012 23:25:02 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 38087 invoked by uid 99); 19 Apr 2012 23:25:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 23:25:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 23:25:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B5EBA3A4ED7 for ; Thu, 19 Apr 2012 23:24:41 +0000 (UTC) Date: Thu, 19 Apr 2012 23:24:41 +0000 (UTC) From: "Shazron Abdullah (Updated) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1632366189.8037.1334877881759.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1140787505.23695.1334351956400.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CB-509) geolocation.clearWatch doesn't shut the GPS down under iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-509: -------------------------------- Fix Version/s: (was: 1.7.0) 1.8.0 Not going to resolve this until 1.8.0 with the new implementation, since adding the stopLocation interface does not really fix this bug, but is a work-around. In 1.7.0, you can do this for iOS: {code} cordova.exec(null, null, "Location", "stopLocation", []); {code} Work-around commit: http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=4853cd11 > geolocation.clearWatch doesn't shut the GPS down under iOS > ---------------------------------------------------------- > > Key: CB-509 > URL: https://issues.apache.org/jira/browse/CB-509 > Project: Apache Callback > Issue Type: Bug > Components: iOS > Affects Versions: 1.6.0 > Reporter: Andrea Zicchetti > Assignee: Shazron Abdullah > Priority: Critical > Labels: CDVLocation, battery, clearWatch, gps, shutdown, stopLocation > Fix For: 1.8.0 > > Attachments: CDVLocationShim.zip > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > Calling navigator.geolocation.clearWatch doesn't shut the GPS down. > It's no longer possible to manually invoke geolocation.stop() (and thus the corresponding stopLocation function in CDVLocation), which was a temporary solution with previous phonegap/cordova versions. > It's quite a problem because an application using the GPS even for a short amount of time will completely drain the battery in a few hours. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira