You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/08/14 11:03:00 UTC

[jira] [Updated] (CB-14259) inAppBrowser not working on android>=7 when target version>=23

     [ https://issues.apache.org/jira/browse/CB-14259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile updated CB-14259:
------------------------------
    Component/s: cordova-android

> inAppBrowser not working on android>=7 when target version>=23
> --------------------------------------------------------------
>
>                 Key: CB-14259
>                 URL: https://issues.apache.org/jira/browse/CB-14259
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-plugin-inappbrowser
>         Environment: cordova-android is 6.4.0, but affects all versions
>            Reporter: Pablo Caselas
>            Priority: Major
>
> Starting November, all playstore apps must be submitted with target-version>=23.
> When you do that, the following error occurs  when trying to open a PDF.
> 08-07 16:30:15.303 21228 21228 D InAppBrowser: InAppBrowser: Error loading url file:///storage/emulated/0/Android/data/com.app.example/cache/cache_documents/this_is_a_sample_file.pdf:*android.os.FileUriExposedException*: file:///storage/emulated/0/Android/data/com.app.example/cache/cache_documents/this_is_a_sample_file.pdf *exposed beyond app through Intent.getData()*
> Works fine when target-version is <=23 or android version of the device is < 7.0 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org