plugin.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  3. id="ionic-plugin-keyboard"
  4. version="2.2.1">
  5. <name>Keyboard</name>
  6. <description>Ionic Keyboard Plugin</description>
  7. <license>Apache 2.0</license>
  8. <keywords>Ionic,keyboard</keywords>
  9. <repo>https://github.com/driftyco/ionic-plugin-keyboard.git</repo>
  10. <issue>https://github.com/driftyco/ionic-plugin-keyboard/issues</issue>
  11. <!-- android -->
  12. <platform name="android">
  13. <js-module src="www/android/keyboard.js" name="keyboard">
  14. <runs/>
  15. <clobbers target="cordova.plugins.Keyboard" />
  16. </js-module>
  17. <config-file target="res/xml/config.xml" parent="/*">
  18. <feature name="Keyboard">
  19. <param name="android-package" value="io.ionic.keyboard.IonicKeyboard" />
  20. <param name="onload" value="true" />
  21. </feature>
  22. </config-file>
  23. <source-file src="src/android/IonicKeyboard.java" target-dir="src/io/ionic/keyboard" />
  24. </platform>
  25. <!-- ios -->
  26. <platform name="ios">
  27. <js-module src="www/ios/keyboard.js" name="keyboard">
  28. <runs/>
  29. <clobbers target="cordova.plugins.Keyboard" />
  30. </js-module>
  31. <config-file target="config.xml" parent="/*">
  32. <feature name="Keyboard">
  33. <param name="ios-package" value="IonicKeyboard" onload="true" />
  34. </feature>
  35. </config-file>
  36. <header-file src="src/ios/IonicKeyboard.h" />
  37. <source-file src="src/ios/IonicKeyboard.m" />
  38. </platform>
  39. <!-- browser -->
  40. <platform name="browser">
  41. <js-module src="www/browser/keyboard.js" name="keyboard">
  42. <runs/>
  43. <clobbers target="cordova.plugins.Keyboard" />
  44. </js-module>
  45. </platform>
  46. <!-- blackberry10 -->
  47. <platform name="blackberry10">
  48. <source-file src="src/blackberry10/index.js" target-dir='Keyboard' />
  49. <lib-file src="src/blackberry10/native/device/libKeyboard.so" arch="device"/>
  50. <lib-file src="src/blackberry10/native/simulator/libKeyboard.so" arch="simulator"/>
  51. <config-file target="www/config.xml" parent="/widget">
  52. <feature name="Keyboard" value="io.ionic.keyboard"/>
  53. </config-file>
  54. </platform>
  55. <!-- windows -->
  56. <platform name="windows">
  57. <js-module src="src/windows/KeyboardProxy.js" name="KeyboardProxy">
  58. <runs />
  59. <clobbers target="cordova.plugins.Keyboard" />
  60. </js-module>
  61. </platform>
  62. </plugin>