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 2C6E5200B33 for ; Tue, 14 Jun 2016 23:55:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B10F160A47; Tue, 14 Jun 2016 21:55:32 +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 5D3E4160A62 for ; Tue, 14 Jun 2016 23:55:31 +0200 (CEST) Received: (qmail 68526 invoked by uid 500); 14 Jun 2016 21:55:30 -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 68087 invoked by uid 99); 14 Jun 2016 21:55:30 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 21:55:30 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2DBA12C1F68 for ; Tue, 14 Jun 2016 21:55:30 +0000 (UTC) Date: Tue, 14 Jun 2016 21:55:30 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Deleted] (CB-11435) 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 21:55:32 -0000 [ https://issues.apache.org/jira/browse/CB-11435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah deleted CB-11435: ---------------------------------- > Permission dialog display cordova package path instead of plain text message > ---------------------------------------------------------------------------- > > Key: CB-11435 > URL: https://issues.apache.org/jira/browse/CB-11435 > Project: Apache Cordova > Issue Type: Bug > 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