浏览代码

Fixes #3, also add Cordova 2.3.0 support

Shazron Abdullah 13 年之前
父节点
当前提交
cb2139ad29
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      plugin.xml

+ 7 - 0
plugin.xml

@@ -13,8 +13,15 @@
 
     <!-- ios -->
     <platform name="ios">
+        <!-- Cordova 2.2.0 -->
         <plugins-plist key="Keychain"
                     string="CDVKeychain" />
+                    
+        <!-- Cordova 2.3.0 -->
+        <config-file target="config.xml" parent="/cordova/plugins">
+                <plugin name="Keychain"
+                    value="CDVKeychain"/>
+        </config-file>
 
         <!-- Note: the ios src is based off src/ios implicitly --> 
         <header-file src="CDVKeychain.h" />