[
https://issues.apache.org/jira/browse/CB-11142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257040#comment-15257040
]
ASF GitHub Bot commented on CB-11142:
-------------------------------------
GitHub user rakatyal opened a pull request:
https://github.com/apache/cordova-plugin-file/pull/179
CB-11142: Fix the NeedPermission code for the case when external medi…
…a is not mounted in Android
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-file
raghav/fixpermission
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file/pull/179.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #179
----
commit c3aad57c2e7848157365f9cce8bd90dcaba8e0e9
Author: Raghav Katyal <[email protected]>
Date: 2016-04-25T20:51:31Z
CB-11142: Fix the NeedPermission code for the case when external media is
not mounted in Android
----
> 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]