Updated Branches: refs/heads/master 841c9e577 -> 47b607737
added Android permission for writing to file system Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/22c36d7f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/22c36d7f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/22c36d7f Branch: refs/heads/master Commit: 22c36d7f6327d34be694002da25b5bfc85f0971e Parents: e58827d Author: hermwong <[email protected]> Authored: Tue Jun 11 12:25:16 2013 -0700 Committer: hermwong <[email protected]> Committed: Tue Jun 11 12:25:16 2013 -0700 ---------------------------------------------------------------------- plugin.xml | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/22c36d7f/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index ce0e3b7..bfeea43 100644 --- a/plugin.xml +++ b/plugin.xml @@ -80,6 +80,10 @@ id="org.apache.cordova.core.FileUtils" <plugin name="File" value="org.apache.cordova.core.FileUtils"/> </config-file> + <config-file target="AndroidManifest.xml" parent="/*"> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + </config-file> + <source-file src="FileUtils.java" target-dir="org/apache/cordova/core" /> </platform>
