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 6D281200AF7 for ; Tue, 14 Jun 2016 21:38:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6BCC5160A47; Tue, 14 Jun 2016 19:38:01 +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 B4402160A06 for ; Tue, 14 Jun 2016 21:38:00 +0200 (CEST) Received: (qmail 44383 invoked by uid 500); 14 Jun 2016 19:37:59 -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 44372 invoked by uid 99); 14 Jun 2016 19:37:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 19:37:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BCA062C0451 for ; Tue, 14 Jun 2016 19:37:59 +0000 (UTC) Date: Tue, 14 Jun 2016 19:37:59 +0000 (UTC) From: "Philipp Kursawe (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-11434) Permission dialog display cordova package path instead of plain text message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Jun 2016 19:38:01 -0000 Philipp Kursawe created CB-11434: ------------------------------------ Summary: Permission dialog display cordova package path instead of plain text message Key: CB-11434 URL: https://issues.apache.org/jira/browse/CB-11434 Project: Apache Cordova Issue Type: Bug Components: Plugin Geolocation Affects Versions: 2.2.0 Environment: ios 9.3.x Reporter: Philipp Kursawe 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 -- 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