forked from kdileep1990/com.dileep.plugins.datepicker
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.xml
50 lines (39 loc) · 1.77 KB
/
plugin.xml
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
<?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="com.dileep.plugins.datepicker"
version="0.1.0">
<name>DatePickerPlugin</name>
<description>Cordova Date Picker Plugin (android and ios only)</description>
<license>Apache 2.0</license>
<keywords>cordova, datepicker</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="DatePickerPlugin">
<param name="android-package" value="com.dileep.plugins.datepicker.DatePickerPlugin"/>
</feature>
</config-file>
<js-module src="www/DatePicker.js" name="DatePicker">
<clobbers target="datePicker" />
</js-module>
<source-file src="src/android/DatePickerPlugin.java" target-dir="src/com/dileep/plugins/datepicker" />
<source-file src="src/android/DateTimePickerDialog.java" target-dir="src/com/dileep/plugins/datepicker" />
<source-file src="src/android/OnDateTimeSetListener.java" target-dir="src/com/dileep/plugins/datepicker" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="DatePickerPlugin">
<param name="ios-package" value="DatePicker"/>
</feature>
</config-file>
<js-module src="www/DatePicker.js" name="DatePicker">
<clobbers target="datePicker" />
</js-module>
<header-file src="src/ios/DatePicker.h" />
<source-file src="src/ios/DatePicker.m" />
</platform>
</plugin>