[
https://issues.apache.org/jira/browse/CB-11592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-11592.
-----------------------------
Resolution: Incomplete
I'm going to keep the more precise ticket open, but the file:// limitation is
caused by sharing file URIs across Intents, which is Cross-Process
communication. Since the File API and InAppBrowser both don't do this
(InAppBrowser uses a WebView inside a dialog box, which is odd, but not a
separate process), I'm going to close this because we don't have a repro case
for both of those, and keep the issue that it's related to open, because I
still need to merge the API24 branches back into master for a 6.0.0 release of
Cordova-Android.
> 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: [email protected]
For additional commands, e-mail: [email protected]