plugin.xml 1.94 KB
Newer Older
李晓兵's avatar
李晓兵 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
<?xml version="1.0" encoding="UTF-8"?>

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    xmlns:android="http://schemas.android.com/apk/res/android"
    id="cordova-plugin-datepicker"
    version="0.9.3">

    <name>DatePicker</name>

    <description>Cordova/PhoneGap DatePicker Plugin for iOS, Android and Windows Phone</description>

    <license>MIT</license>

    <keywords>cordova,phonegap,datepicker,android,ios,ios7,ios8,wp</keywords>

    <repo>https://github.com/VitaliiBlagodir/cordova-plugin-datepicker.git</repo>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="DatePickerPlugin">
                <param name="android-package" value="com.plugin.datepicker.DatePickerPlugin"/>
            </feature>
        </config-file>

        <js-module src="www/android/DatePicker.js" name="DatePicker">
            <clobbers target="datePicker" />
        </js-module>

        <source-file src="src/android/DatePickerPlugin.java" target-dir="src/com/plugin/datepicker" />
    </platform>

    <!-- ios -->
    <platform name="ios">
        <config-file target="config.xml" parent="/*">
        <feature name="DatePicker">
            <param name="ios-package" value="DatePicker"/>
        </feature>
        </config-file>

        <js-module src="www/ios/DatePicker.js" name="DatePicker">
            <clobbers target="datePicker" />
        </js-module>

        <header-file src="src/ios/DatePicker.h" />
        <source-file src="src/ios/DatePicker.m" />
        <resource-file src="src/ios/DatePicker.xib" />
    </platform>
	
    <!-- windows -->
    <platform name="windows">		
        <js-module src="www/windows/DatePicker.js" name="DatePicker">
            <clobbers target="datePicker" />
        </js-module>
        <js-module src="src/windows/DatePickerProxy.js" name="DatePickerProxy">
            <merges target="" />
        </js-module>
    </platform>

</plugin>