cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [6/7] git commit: added Android file system permissions
Date Fri, 14 Jun 2013 19:03:23 GMT
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 <herm.wong@gmail.com>
Authored: Fri Jun 14 11:25:03 2013 -0700
Committer: hermwong <herm.wong@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"
/>


Mime
View raw message