Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D45E7172BF for ; Fri, 29 Jan 2016 15:14:04 +0000 (UTC) Received: (qmail 71495 invoked by uid 500); 29 Jan 2016 15:13:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 71455 invoked by uid 500); 29 Jan 2016 15:13:59 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 71443 invoked by uid 99); 29 Jan 2016 15:13:59 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2016 15:13:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DD7BC18065A for ; Fri, 29 Jan 2016 15:13:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bL3DJ-vujrJJ for ; Fri, 29 Jan 2016 15:13:52 +0000 (UTC) Received: from mail-qg0-f49.google.com (mail-qg0-f49.google.com [209.85.192.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 863B042A21 for ; Fri, 29 Jan 2016 15:13:52 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id b35so67243533qge.0 for ; Fri, 29 Jan 2016 07:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jNza1Ogt6gf6y7u4aDoHnYEZn3AmBqlgySBl4yWfoRQ=; b=WO2E8Q8OQsCJwNSIhzE0HJk6s2QXkQ/fA/ufoab6LbRgvGONv/2tOpLz0wjG7jf8Lf 1IE8DckEkeAegJYT8LRcu30tPNkq5uMBw7RVabn4LnFQ8C9T8L4fetwLIfIDDE947OHl qfq9Lpz3AGYnOlqpqlK8LpVeKgLnLLBuR6HjxktO7Ajt2qudAu+Yc+K4mY9EIfeDzXQH vEXD0Z+yc1GC8cRCCDm+c4dJM5AopJGgyaHf4fMl1kP+1m7nmpCkgpvokJMfteupBHRO F/cpWWR47yw3uxeEaD0/OjZlOm/CFPJrrKVvajc3Fh4sLCUwEnqUFeEsyBZihnFIavOD it/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=jNza1Ogt6gf6y7u4aDoHnYEZn3AmBqlgySBl4yWfoRQ=; b=EuGso23Qr8uTl9lE6sed0nyw2GH58BHxGlzx7Dl9XSK7h05ZC2+I60yw+iX2D+jZyT co3BixwDIKe3u/I3fea120czbd4XnSc2yQ+nkGqpD7RKW3k/nVlgesoVbDcEpvlnPvOA LEfHDcvJ5uQ4YU3TamveNAlfT6cFLORzCFcJCTPGsfIHaEw/7lr8YdMX4TCxpjnW70LM SwH5ZNt7gdIZ2AapL+HJ862dDRIBxcGio6AkjzAh1YtHVNdQobWp0UlvtBcVpQDUTv57 0tuwUey9dAAGYgJcvRLr1aDjinbH/okfCA1+AEMXZF21OLNNz1x4FVmuU89HEih0j0Fq qb6A== X-Gm-Message-State: AG10YORQLHoyZS+wNAV1HcsXMd7VwRUpiWbMy3o3Fnfdukx5bIHG8a5+e8o7QgLCjN9i18dxcOLjovjEWAGICA== MIME-Version: 1.0 X-Received: by 10.140.241.5 with SMTP id m5mr11921530qhc.33.1454080432249; Fri, 29 Jan 2016 07:13:52 -0800 (PST) Received: by 10.140.28.53 with HTTP; Fri, 29 Jan 2016 07:13:52 -0800 (PST) In-Reply-To: References: Date: Fri, 29 Jan 2016 16:13:52 +0100 Message-ID: Subject: Re: geolocation getCurrentPosition and disabled location services From: julio cesar sanchez To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a113947baa3a69f052a7a7bd7 --001a113947baa3a69f052a7a7bd7 Content-Type: text/plain; charset=UTF-8 Carlos, the message he is talking about is a system message, so we don't have to worry about how it works or the message it has to show. It's displayed automatically when you call [self.locationManager startUpdatingLocation]; and the geolocation services are turned off, but the current implementation of the plugin doesn't call [self.locationManager startUpdatingLocation]; if the permissions are turned off. Bad thing is geolocation plugin follows the W3C API, and I don't see any way of adding this option without "breaking" the API 2016-01-29 14:18 GMT+01:00 Carlos Santana : > Thanks for opening the JIRA that says a lot about your interest to help. > But my opinion the request is for a specific implementation related to > UI/UX, then what would the dialog say and how to handle language etc... > > This is the reason in core Cordova we try to stay away from providing > specific UI implementations > > Also there is no native iOS API to open settings app in the specific > section of Location Services that I'm aware. There are some APIs to go the > your app section but not the location services. > > I would consider the use case be concern of Dev space how to handle the > UI/UX when our current API returns with permission denied > On Fri, Jan 29, 2016 at 7:07 AM Zarko Hristovski wrote: > > > Thanks. > > > > Created CB-10478 (getCurrentPosition should trigger system dialog for > > enabling location services): > > https://issues.apache.org/jira/browse/CB-10478 > > > > It's a feature request, so fingers crossed. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > For additional commands, e-mail: dev-help@cordova.apache.org > > > > > --001a113947baa3a69f052a7a7bd7--