1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
22 | id="cordova-plugin-dialogs"
|
23 | version="1.2.1">
|
24 |
|
25 | <name>Notification</name>
|
26 | <description>Cordova Notification Plugin</description>
|
27 | <license>Apache 2.0</license>
|
28 | <keywords>cordova,notification</keywords>
|
29 | <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git</repo>
|
30 | <issue>https://issues.apache.org/jira/browse/CB/component/12320642</issue>
|
31 |
|
32 | <js-module src="www/notification.js" name="notification">
|
33 | <merges target="navigator.notification" />
|
34 | </js-module>
|
35 |
|
36 |
|
37 | <platform name="firefoxos">
|
38 | <config-file target="config.xml" parent="/*">
|
39 | <feature name="Notification">
|
40 | <param name="firefoxos-package" value="Notification" />
|
41 | </feature>
|
42 | </config-file>
|
43 |
|
44 | <asset src="www/firefoxos/notification.css" target="css/notification.css" />
|
45 | <asset src="www/firefoxos/danger-press.png" target="img/danger-press.png" />
|
46 | <asset src="www/firefoxos/danger.png" target="img/danger.png" />
|
47 | <asset src="www/firefoxos/default.png" target="img/default.png" />
|
48 | <asset src="www/firefoxos/gradient.png" target="img/gradient.png" />
|
49 | <asset src="www/firefoxos/pattern.png" target="img/pattern.png" />
|
50 | <asset src="www/firefoxos/recommend.png" target="img/recommend.png" />
|
51 | <js-module src="src/firefoxos/notification.js" name="dialogs-impl">
|
52 | <runs />
|
53 | </js-module>
|
54 | </platform>
|
55 |
|
56 |
|
57 | <platform name="android">
|
58 | <config-file target="res/xml/config.xml" parent="/*">
|
59 | <feature name="Notification">
|
60 | <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
|
61 | </feature>
|
62 | </config-file>
|
63 |
|
64 | <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
|
65 |
|
66 |
|
67 | <js-module src="www/android/notification.js" name="notification_android">
|
68 | <merges target="navigator.notification" />
|
69 | </js-module>
|
70 |
|
71 | </platform>
|
72 |
|
73 |
|
74 | <platform name="browser">
|
75 | <js-module src="www/browser/notification.js" name="notification_browser">
|
76 | <merges target="navigator.notification" />
|
77 | </js-module>
|
78 |
|
79 | </platform>
|
80 |
|
81 |
|
82 | <platform name="amazon-fireos">
|
83 | <config-file target="res/xml/config.xml" parent="/*">
|
84 | <feature name="Notification">
|
85 | <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
|
86 | </feature>
|
87 | </config-file>
|
88 |
|
89 | <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
|
90 |
|
91 |
|
92 | <js-module src="www/android/notification.js" name="notification_android">
|
93 | <merges target="navigator.notification" />
|
94 | </js-module>
|
95 |
|
96 | </platform>
|
97 |
|
98 |
|
99 | <platform name="ubuntu">
|
100 | <header-file src="src/ubuntu/notification.h" />
|
101 | <source-file src="src/ubuntu/notification.cpp" />
|
102 | <resource-file src="src/ubuntu/notification.qml" />
|
103 | </platform>
|
104 |
|
105 |
|
106 | <platform name="ios">
|
107 | <config-file target="config.xml" parent="/*">
|
108 | <feature name="Notification">
|
109 | <param name="ios-package" value="CDVNotification"/>
|
110 | </feature>
|
111 | </config-file>
|
112 | <header-file src="src/ios/CDVNotification.h" />
|
113 | <source-file src="src/ios/CDVNotification.m" />
|
114 | <resource-file src="src/ios/CDVNotification.bundle" />
|
115 | <framework src="AudioToolbox.framework" weak="true" />
|
116 | </platform>
|
117 |
|
118 |
|
119 | <platform name="blackberry10">
|
120 | <source-file src="src/blackberry10/index.js" target-dir="Notification" />
|
121 | <config-file target="www/config.xml" parent="/widget">
|
122 | <feature name="Notification" value="Notification"/>
|
123 | </config-file>
|
124 | <js-module src="www/blackberry10/beep.js" name="beep">
|
125 | <clobbers target="window.navigator.notification.beep" />
|
126 | </js-module>
|
127 | <source-file src="www/blackberry10/notification-beep.wav" />
|
128 | </platform>
|
129 |
|
130 |
|
131 | <platform name="wp7">
|
132 | <config-file target="config.xml" parent="/*">
|
133 | <feature name="Notification">
|
134 | <param name="wp-package" value="Notification"/>
|
135 | </feature>
|
136 | </config-file>
|
137 |
|
138 | <source-file src="src/wp/Notification.cs" />
|
139 | <source-file src="src/wp/NotificationBox.xaml.cs" />
|
140 | <source-file src="src/wp/NotificationBox.xaml" />
|
141 | <source-file src="src/wp/notification-beep.wav" />
|
142 | </platform>
|
143 |
|
144 |
|
145 | <platform name="wp8">
|
146 | <config-file target="config.xml" parent="/*">
|
147 | <feature name="Notification">
|
148 | <param name="wp-package" value="Notification"/>
|
149 | </feature>
|
150 | </config-file>
|
151 |
|
152 | <source-file src="src/wp/Notification.cs" />
|
153 | <source-file src="src/wp/NotificationBox.xaml.cs" />
|
154 | <source-file src="src/wp/NotificationBox.xaml" />
|
155 | <source-file src="src/wp/notification-beep.wav" />
|
156 | </platform>
|
157 |
|
158 |
|
159 | <platform name="windows8">
|
160 | <js-module src="src/windows/NotificationProxy.js" name="NotificationProxy">
|
161 | <merges target="" />
|
162 | </js-module>
|
163 | </platform>
|
164 |
|
165 |
|
166 | <platform name="windows">
|
167 | <js-module src="src/windows/NotificationProxy.js" name="NotificationProxy">
|
168 | <merges target="" />
|
169 | </js-module>
|
170 | </platform>
|
171 | </plugin>
|