[
https://issues.apache.org/jira/browse/CB-12834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176589#comment-16176589
]
ASF GitHub Bot commented on CB-12834:
-------------------------------------
Github user MeirBon commented on the issue:
https://github.com/apache/cordova-plugin-inappbrowser/pull/244
@infil00p Replying on what you said in #221. I have thought about that too.
It is a difficult decision, but not implementing anything results in the app
crashing. If implementing downloads is not an option (due to the permissions
needed during compile time) we should atleast implement a catch before the app
crashes. Another option might be to store the download in a tmp/cached location
and open it, I might look into this as this shouldn’t require any additional
permissions (read about it, but haven’t done it myself yet).
> Opening a link to a file in the inappbrowser on Android crashes the app
> -----------------------------------------------------------------------
>
> Key: CB-12834
> URL: https://issues.apache.org/jira/browse/CB-12834
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-inappbrowser
> Environment: Android > 4.4
> Reporter: Mèir Noordermeer
> Priority: Critical
> Labels: android, cordova, download, inappbrowser
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> When opening a link to a a file (a PDF, for example) the inappbrowser
> crashes, because on Android versions of 4.4 storage permissions are not
> automatically granted anymore. Thus these should be requested instead of
> letting the app crash.
> I am creating this issue to follow the guidelines of pull requests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]