Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7090200AF7 for ; Tue, 14 Jun 2016 23:57:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C5A36160A47; Tue, 14 Jun 2016 21:57:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DE17C160A06 for ; Tue, 14 Jun 2016 23:57:36 +0200 (CEST) Received: (qmail 76939 invoked by uid 500); 14 Jun 2016 21:57:36 -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 76920 invoked by uid 99); 14 Jun 2016 21:57:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 21:57:35 +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 54D551800B5 for ; Tue, 14 Jun 2016 21:57:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id A-pXVAv-U_ot for ; Tue, 14 Jun 2016 21:57:33 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 310A65F39C for ; Tue, 14 Jun 2016 21:57:33 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id a186so3490384qkf.0 for ; Tue, 14 Jun 2016 14:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=dm8WMwmWOwAAXWTRjA4qnMZi8oU2EvTT3uZ9pReYgwQ=; b=Y4Tot2EpfDG3xgee2jwCqdFIeTtg60mqADOZDDKhcH9Ndm2Si1DBrftkolqZ7fy/LL TShVRQKMavAapwoDsqWzK0Rj3AFlDEW+zWnJuxxsX1j7ihyLeJA7tYhZcY01L/akvu+g PE6/1ffbhpgOjgTKQ/sl8yS6migMyaGK6x5/vt5VGytCYGXTZv+CHTzfyrBbm3/++NI2 xjrMTK6ZeZ2ab14ASDBOF8NAKPoxck3uXoMXkhfGi9isBubNwSvkDO8pz/Y9qsehAtqI tUjpgwzkb3iGsKrjB6Yj6FtB14Ey+peHaKxOUyT+l1sCtcqgdNY62QQI+wOYJhNI2NsH 0JFw== 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:from:date :message-id:subject:to; bh=dm8WMwmWOwAAXWTRjA4qnMZi8oU2EvTT3uZ9pReYgwQ=; b=RIrRWBz4Elh+O/CzlztTLvUT3gswM2VeejA3bI/DBMof7XcxkYKN4lNtpWJ1C5uBj3 Fm1A9LrFMSW0jc2jE+Xe+LMAuCfgRs29LIOyj+O6K6m79SZVxq4sEG6/jlxC5v3S/TLc evK+9JFbWNuTivJtHz63RYXQ3QZcTJgueVpQwtOll4gJy31RDPLxwxB7e+AP34X5sj98 Xv8rYf9yyjXiP6XGVfPeCOMkvioZuixPh6a8Wk6pCdsMJ2s5rXAmbD58Oty0U71y/u+0 Hc2oXqywqkSYPtPx2JK3YemZXVu4IrzHxOpVUvIX04JWyAylCSu2VhNAubhjaP837O/d 54mA== X-Gm-Message-State: ALyK8tJGigTYFDKPrt2Y2AxBhgc4QsGTSceSjaM7TGWM0tEFpFczPpYGegOJciu00Z7WimQfqDB/y0XnqvTa2w== X-Received: by 10.200.36.13 with SMTP id c13mr13345012qtc.88.1465941452429; Tue, 14 Jun 2016 14:57:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.80.139 with HTTP; Tue, 14 Jun 2016 14:56:53 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Tue, 14 Jun 2016 14:56:53 -0700 Message-ID: Subject: Re: [Plugin: Geolocation] Wrong permission message displayed To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a11404b9088a1070535441706 archived-at: Tue, 14 Jun 2016 21:57:38 -0000 --001a11404b9088a1070535441706 Content-Type: text/plain; charset=UTF-8 I've deleted your 6 duplicates and left: https://issues.apache.org/jira/browse/CB-11433 On Tue, Jun 14, 2016 at 12:49 PM, Philipp Kursawe wrote: > I tried to post this to the issue tracker, but it would just spin the > spinner and never let met create the issue. > > > So I post it here instead: > > > ------------------------- > > When having this react component > > {code} > import React from "react" > import { connect } from "react-redux" > import { update } from "../geolocationActions" > > class GeoLocation extends React.Component { > constructor(props) { > super(props) > this.updatePosition = position => props.update(position) > this.onError = () => props.update(null) > } > > componentWillMount() { > this.watchId = navigator.geolocation.watchPosition(this.updatePosition, > this.onError) > } > > componentWillUnmount() { > navigator.geolocation.clearWatch(this.watchId) > } > > render() { > return null > } > } > GeoLocation.propTypes = { > update: React.PropTypes.func.isRequired, > } > export default connect(null, { update })(GeoLocation) > {code} > > Sometimes the phone displays the correct permission question: > https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g > > but sometimes (even right after the first dialog) another dialog is > displayed and the app hangs after it has been closed. > https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ > --001a11404b9088a1070535441706--