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:21 UTC

[4/7] git commit: updated config for iOS

updated config for iOS


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/bfb7af45
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/bfb7af45
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/bfb7af45

Branch: refs/heads/master
Commit: bfb7af458429f68876485df307ab2d29c2a28c6d
Parents: 571d316
Author: hermwong <he...@gmail.com>
Authored: Fri Jun 14 11:17:18 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Fri Jun 14 11:17:18 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/bfb7af45/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index a1da0ce..10e925c 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -16,4 +16,16 @@ id="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" />
     </platform>
+    
+    <!-- ios -->
+    <platform name="ios">    
+        <config-file target="config.xml" parent="/*">
+            <feature name="FileTransfer">
+                <param name="ios-package" value="CDVFileTransfer" /> 
+            </feature>
+        </config-file>
+        <header-file src="src/ios/CDVFileTransfer.h" />
+        <source-file src="src/ios/CDVFileTransfer.m" />
+    </platform>    
+    
 </plugin>