You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2013/06/14 21:03:23 UTC

[6/7] git commit: added Android file system permissions

added Android file system permissions


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/187a1272
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/187a1272
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/187a1272

Branch: refs/heads/master
Commit: 187a12725b5b37179f90b5903fcc82b7e5490c10
Parents: 550e560
Author: hermwong <he...@gmail.com>
Authored: Fri Jun 14 11:25:03 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Fri Jun 14 11:25:03 2013 -0700

----------------------------------------------------------------------
 plugin.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/187a1272/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 775db41..f15f069 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,6 +20,10 @@ id="org.apache.cordova.core">
             <plugin name="FileTransfer" value="org.apache.cordova.core.FileTransfer"/>
         </config-file>
 
+        <config-file target="AndroidManifest.xml" parent="/*">
+            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+        </config-file>
+        
         <source-file src="FileTransfer.java" target-dir="org/apache/cordova/core" />
         <source-file src="FileProgressResult.java" target-dir="org/apache/cordova/core" />
         <source-file src="FileUploadResult.java" target-dir="org/apache/cordova/core" />