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 0B5DD200C08 for ; Thu, 26 Jan 2017 20:48:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 09EBD160B4C; Thu, 26 Jan 2017 19:48: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 50ED0160B31 for ; Thu, 26 Jan 2017 20:48:36 +0100 (CET) Received: (qmail 84057 invoked by uid 500); 26 Jan 2017 19:48:35 -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 84046 invoked by uid 99); 26 Jan 2017 19:48:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2017 19:48:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F0BEFC0B7C for ; Thu, 26 Jan 2017 19:48:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id p2eiFoEQkxrk for ; Thu, 26 Jan 2017 19:48:30 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1DE2C5F3BD for ; Thu, 26 Jan 2017 19:48:30 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A2F17E01BE for ; Thu, 26 Jan 2017 19:48:24 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6179025289 for ; Thu, 26 Jan 2017 19:48:24 +0000 (UTC) Date: Thu, 26 Jan 2017 19:48:24 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12368) Denying permission to gallery results in app crash on Android 6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Jan 2017 19:48:37 -0000 [ https://issues.apache.org/jira/browse/CB-12368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840305#comment-15840305 ] ASF GitHub Bot commented on CB-12368: ------------------------------------- GitHub user sryze opened a pull request: https://github.com/apache/cordova-plugin-camera/pull/251 CB-12368: Fix wrong permission request on Android ### Platforms affected Android ### What does this PR do? The plugin was requesting permission for camera instead of external storage. ### What testing has been done on this change? Tested on Android 6 & 7. ### Checklist - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sryze/cordova-plugin-camera cb-12368 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-camera/pull/251.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #251 ---- commit bfa48b9f13009d1b944e1f239a3468a386b263a2 Author: Sergey Zolotarev Date: 2017-01-26T19:41:56Z CB-12368: Fix wrong permission request on Android The plugin was requesting permission for camera instead of external storage. Surprisingly enough this fixed CB-12368. ---- > Denying permission to gallery results in app crash on Android 6.0 > ----------------------------------------------------------------- > > Key: CB-12368 > URL: https://issues.apache.org/jira/browse/CB-12368 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 6.0 > Reporter: Sergey Zolotarev > Labels: android > Fix For: 6.4.0 > > > Steps to reproduce: > 1. Get picture from camera/gallery using Camera plugin > 2. When asked for permission: Allow > 3. Go back > 4. Get picture again > 5. Deny permission > 6. App crashed -- 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