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/06 00:37:22 UTC

[2/3] git commit: updated config for native iOS files

updated config for native iOS files


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

Branch: refs/heads/master
Commit: e4932f0366d8ba2ff3ba911ebe82173afcbd76d7
Parents: 476d017
Author: hermwong <he...@gmail.com>
Authored: Wed Jun 5 14:58:19 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Wed Jun 5 14:58:19 2013 -0700

----------------------------------------------------------------------
 plugin.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/e4932f03/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 4e4ef72..07873e7 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -13,5 +13,17 @@ id="org.apache.cordova.core">
         </config-file>
 
         <source-file src="FileUtils.java" target-dir="org/apache/cordova/core" />
-       </platform>
+    </platform>
+    
+    <!-- ios -->
+    <platform name="ios">    
+        <config-file target="config.xml" parent="/*">
+            <feature name="File">
+                <param name="ios-package" value="CDVFile" /> 
+            </feature>
+        </config-file>
+        <header-file src="src/ios/CDVFile.h" />
+        <source-file src="src/ios/CDVFile.m" />
+    </platform>    
+    
 </plugin>