cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Commented] (CB-11592) Crashes due to android 7.0 "file://" Handling "android.os.FileUriExposedException"
Date Tue, 26 Jul 2016 16:28:20 GMT


Joe Bowser commented on CB-11592:

Can you please create issues for each plugin and tie them back to this issue?  This is a pretty
big deal, and we need to fix it in a wide number of places before we do a 6.0.x release of
Cordova Android.

> Crashes due to android 7.0 "file://" Handling "android.os.FileUriExposedException"
> ----------------------------------------------------------------------------------
>                 Key: CB-11592
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message