plugin.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
  3. id="com.phonegap.plugins.keychain"
  4. version="1.0.0">
  5. <name>iOS KeyChain</name>
  6. <engines>
  7. <engine name="cordova" version="2.2.0" />
  8. </engines>
  9. <asset src="www/keychain.js" target="keychain.js" />
  10. <!-- ios -->
  11. <platform name="ios">
  12. <!-- Cordova 2.2.0 -->
  13. <plugins-plist key="Keychain"
  14. string="CDVKeychain" />
  15. <!-- use this tag for Cordova 2.3.0, 2.4.0 -->
  16. <!--
  17. <config-file target="config.xml" parent="/cordova/plugins">
  18. -->
  19. <!-- Cordova 2.5.0 -->
  20. <config-file target="config.xml" parent="/widget/plugins">
  21. <plugin name="Keychain"
  22. value="CDVKeychain"/>
  23. </config-file>
  24. <!-- Note: the ios src is based off src/ios implicitly -->
  25. <header-file src="CDVKeychain.h" />
  26. <header-file src="SFHFKeychainUtils/SFHFKeychainUtils.h"/>
  27. <source-file src="CDVKeychain.m" />
  28. <source-file src="SFHFKeychainUtils/SFHFKeychainUtils.m" />
  29. <framework src="Security.framework" />
  30. </platform>
  31. </plugin>