plugin.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. id="cordova-plugin-datepicker"
  5. version="0.9.3">
  6. <name>DatePicker</name>
  7. <description>Cordova/PhoneGap DatePicker Plugin for iOS, Android and Windows Phone</description>
  8. <license>MIT</license>
  9. <keywords>cordova,phonegap,datepicker,android,ios,ios7,ios8,wp</keywords>
  10. <repo>https://github.com/VitaliiBlagodir/cordova-plugin-datepicker.git</repo>
  11. <!-- android -->
  12. <platform name="android">
  13. <config-file target="res/xml/config.xml" parent="/*">
  14. <feature name="DatePickerPlugin">
  15. <param name="android-package" value="com.plugin.datepicker.DatePickerPlugin"/>
  16. </feature>
  17. </config-file>
  18. <js-module src="www/android/DatePicker.js" name="DatePicker">
  19. <clobbers target="datePicker" />
  20. </js-module>
  21. <source-file src="src/android/DatePickerPlugin.java" target-dir="src/com/plugin/datepicker" />
  22. </platform>
  23. <!-- ios -->
  24. <platform name="ios">
  25. <config-file target="config.xml" parent="/*">
  26. <feature name="DatePicker">
  27. <param name="ios-package" value="DatePicker"/>
  28. </feature>
  29. </config-file>
  30. <js-module src="www/ios/DatePicker.js" name="DatePicker">
  31. <clobbers target="datePicker" />
  32. </js-module>
  33. <header-file src="src/ios/DatePicker.h" />
  34. <source-file src="src/ios/DatePicker.m" />
  35. <resource-file src="src/ios/DatePicker.xib" />
  36. </platform>
  37. <!-- windows -->
  38. <platform name="windows">
  39. <js-module src="www/windows/DatePicker.js" name="DatePicker">
  40. <clobbers target="datePicker" />
  41. </js-module>
  42. <js-module src="src/windows/DatePickerProxy.js" name="DatePickerProxy">
  43. <merges target="" />
  44. </js-module>
  45. </platform>
  46. </plugin>