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 966B7200B4F for ; Tue, 26 Jul 2016 18:50:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9528A160A69; Tue, 26 Jul 2016 16:50:22 +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 E5A78160A75 for ; Tue, 26 Jul 2016 18:50:21 +0200 (CEST) Received: (qmail 67670 invoked by uid 500); 26 Jul 2016 16:50:21 -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 67198 invoked by uid 99); 26 Jul 2016 16:50:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 16:50:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9A7BA2C027F for ; Tue, 26 Jul 2016 16:50:20 +0000 (UTC) Date: Tue, 26 Jul 2016 16:50:20 +0000 (UTC) From: "Christoph Brosdau (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11592) Crashes due to android 7.0 "file://" Handling "android.os.FileUriExposedException" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 26 Jul 2016 16:50:22 -0000 [ https://issues.apache.org/jira/browse/CB-11592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15394070#comment-15394070 ] Christoph Brosdau commented on CB-11592: ---------------------------------------- I am not sure, if I am the right person to seperate these issues propperly - I am not really deeply involved in how these Plugins work together, so maybe there is one root cause, and maybe each Plugin needs its own Solution. Im not even sure, if inAppBrowser and Camera are the only affected Plugins, I strongly think, that many Plugins refer in some way to the File Plugin. So maybe things have to be fixed there - but Im not involved enough to understand the details here exactly. > Crashes due to android 7.0 "file://" Handling "android.os.FileUriExposedException" > ---------------------------------------------------------------------------------- > > Key: CB-11592 > URL: https://issues.apache.org/jira/browse/CB-11592 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin Camera, Plugin File, Plugin InAppBrowser > Environment: all Environemnts with android 7.0 > Reporter: Christoph Brosdau > Assignee: Joe Bowser > Priority: Critical > > Android 7.0 removes the "file://" Protocol or to be more precise, removes the possibility to share URIs with "file://" Protocol outside the Scope of the own App. If some Code tries this, the result is "android.os.FileUriExposedException". > This affects a variety of Plugins: > - inAppBrowser: opening a file:// URI (e.g. to show a downloaded PDF) crasehs the app, > - Camera crashes immediately: opening a cached File by "ClipData.Item.getUri()" > - possible a couple of the File Plugin Methods -- 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