You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/08/03 22:33:20 UTC

[jira] [Commented] (CB-11592) Crashes due to android 7.0 "file://" Handling "android.os.FileUriExposedException"

    [ https://issues.apache.org/jira/browse/CB-11592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406739#comment-15406739 ] 

Joe Bowser commented on CB-11592:
---------------------------------

[~boredom2@gmail.com] So, have you actually encountered this issue on File or InAppBrowser?  Or is this just an issue in Camera.  We've covered the issue in Camera, but we need solid repro steps for this before we can really move on the rest of this issue.

> 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: Blocker
>
> 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