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 1B7D571CF for ; Mon, 5 Dec 2011 05:58:12 +0000 (UTC) Received: (qmail 33594 invoked by uid 500); 5 Dec 2011 05:58:11 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 33514 invoked by uid 500); 5 Dec 2011 05:58:06 -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 33506 invoked by uid 99); 5 Dec 2011 05:58:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2011 05:58:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Mon, 05 Dec 2011 05:58:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D4E06C6652 for ; Mon, 5 Dec 2011 05:57:39 +0000 (UTC) Date: Mon, 5 Dec 2011 05:57:39 +0000 (UTC) From: "Steven Romalewski (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1729598980.40262.1323064659873.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <362864629.23928.1322610220087.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-95) .watchPosition & .getCurrentPosition still timeouts 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-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162618#comment-13162618 ] Steven Romalewski commented on CB-95: ------------------------------------- As far as I can tell, adding [self.locationManager stopUpdatingLocation]; to Location.m doesn't fix anything. (This is @mschulkind's fix for #197 above.) Unless I'm doing something wrong, when I rebuild Phonegap 1.1.0 after adding this line, watchPosition still fails to get a position on subsequent calls (it works the first time, but then if I call it again, it doesn't fire at all and I have to rely on setting a timeout in order to force my app to get a position). I'm going back to @paulj 's approach of adding "this.stop()" to phonegap.js. Even though this keeps calling watchPosition and therefore wasting battery power (even though I've cleared the watchID), at least it seems to force watchPosition to behave like it should. But "[self.locationManager stopUpdatingLocation];" doesn't seem to have any affect at all. > .watchPosition & .getCurrentPosition still timeouts > --------------------------------------------------- > > Key: CB-95 > URL: https://issues.apache.org/jira/browse/CB-95 > Project: Apache Callback > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > > reported at: https://github.com/callback/callback-ios/issues/1 > by: https://github.com/schmitti12345 > sorry to mention, but [#197](https://github.com/phonegap/phonegap-iphone/issues/197), [#304](https://github.com/phonegap/phonegap-iphone/issues/304#issuecomment-2460999) & [#287](https://github.com/phonegap/phonegap-iphone/issues/283) are still there. -- 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