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 492E0188C1 for ; Tue, 5 Jan 2016 11:09:40 +0000 (UTC) Received: (qmail 58401 invoked by uid 500); 5 Jan 2016 11:09:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 58366 invoked by uid 500); 5 Jan 2016 11:09: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 58339 invoked by uid 99); 5 Jan 2016 11:09:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2016 11:09:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EEB6D2C1F69 for ; Tue, 5 Jan 2016 11:09:39 +0000 (UTC) Date: Tue, 5 Jan 2016 11:09:39 +0000 (UTC) From: "clement bidon (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8443) Android: nothing happens if GPS is turned off 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-8443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15082851#comment-15082851 ] clement bidon commented on CB-8443: ----------------------------------- Changing the documentation does not fix problems.... I have a question for you: imagine that I whant to create an app like google maps. the behaviour is done like this: 1) if the users phone have the "location service disabled" a message is displayed to request him to turn it on. 2) if the users phone has "location service enabled" , then nothing happens: the app just wait forever until a position is received. HOW DO YOU DO THAT WITH YOUR PLUGIN? ( I believe there is no way of doing it with your plugin.. that is terrible is it not?) > Android: nothing happens if GPS is turned off > --------------------------------------------- > > Key: CB-8443 > URL: https://issues.apache.org/jira/browse/CB-8443 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Geolocation > Affects Versions: 3.5.0 > Environment: moto G android 4.4.4 > Reporter: clement bidon > Labels: android, triaged > > to goe the error: disable "ALL LOCATION SERVICE" on the phone. > call "getCurrentPosition" or "watchPosition" functions without any timout. > The "onError" function should be called with "PositionError.PERMISSION_DENIED" or with "PositionError.POSITION_UNAVAILABLE", BUT IT S NOT THE CASE: --> nothing happens. -- 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