[
https://issues.apache.org/jira/browse/CB-11142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257044#comment-15257044
]
ASF GitHub Bot commented on CB-11142:
-------------------------------------
Github user rakatyal commented on the pull request:
https://github.com/apache/cordova-plugin-file/pull/179#issuecomment-214520604
@riknoll, @jasongin : Please review.
> Fix the NeedPermission code for the case when external media is not mounted
> in Android
> --------------------------------------------------------------------------------------
>
> Key: CB-11142
> URL: https://issues.apache.org/jira/browse/CB-11142
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File
> Reporter: Raghav Katyal
> Assignee: Raghav Katyal
> Labels: Android
>
> Line 582 in FileUtils.java has:
> String[] allowedStorageDirectories =
> {j.getString("applicationStorageDirectory"),
> j.getString("externalApplicationStorageDirectory")};
> This would cause an JSON exception when "externalApplicationStorageDirectory"
> is not present, which happens when the external storage is not mounted in the
> device/emulator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]