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="2.0.2">
|
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://github.com/apache/cordova-plugin-dialogs</repo>
|
30 | <issue>https://github.com/apache/cordova-plugin-dialogs/issues</issue>
|
31 |
|
32 | <js-module src="www/notification.js" name="notification">
|
33 | <merges target="navigator.notification" />
|
34 | </js-module>
|
35 |
|
36 |
|
37 | <platform name="android">
|
38 | <config-file target="res/xml/config.xml" parent="/*">
|
39 | <feature name="Notification">
|
40 | <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
|
41 | </feature>
|
42 | </config-file>
|
43 |
|
44 | <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
|
45 |
|
46 |
|
47 | <js-module src="www/android/notification.js" name="notification_android">
|
48 | <merges target="navigator.notification" />
|
49 | </js-module>
|
50 |
|
51 | </platform>
|
52 |
|
53 |
|
54 | <platform name="browser">
|
55 | <js-module src="www/browser/notification.js" name="notification_browser">
|
56 | <merges target="navigator.notification" />
|
57 | </js-module>
|
58 |
|
59 | </platform>
|
60 |
|
61 |
|
62 | <platform name="ios">
|
63 | <config-file target="config.xml" parent="/*">
|
64 | <feature name="Notification">
|
65 | <param name="ios-package" value="CDVNotification"/>
|
66 | </feature>
|
67 | </config-file>
|
68 | <header-file src="src/ios/CDVNotification.h" />
|
69 | <source-file src="src/ios/CDVNotification.m" />
|
70 | <resource-file src="src/ios/CDVNotification.bundle" />
|
71 | <framework src="AudioToolbox.framework" weak="true" />
|
72 | </platform>
|
73 |
|
74 |
|
75 | <platform name="windows">
|
76 | <js-module src="src/windows/NotificationProxy.js" name="NotificationProxy">
|
77 | <runs />
|
78 | </js-module>
|
79 |
|
80 | <asset src="www/windows/notification.css" target="css/notification.css" />
|
81 | </platform>
|
82 | </plugin>
|