-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathplugin.xml
83 lines (64 loc) · 3.63 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="jp.wizcorp.phonegap.plugin.localNotificationPlugin"
version="2.1.0">
<name>Local Notification Plugin</name>
<description>This plugin allows you to add, queue, cancel by id and cancel all local notifications.</description>
<author>Ally Ogilvie - [email protected]</author>
<keywords>local, notification, notifications</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<license>MIT</license>
<js-module src="www/phonegap/plugin/localNotification/localNotification.js" name="localNotificationPlugin" target="phonegap/plugin/localNotification/localNotification.js">
<clobbers target="window.localNotification" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="LocalNotification" >
<param name="android-package" value="jp.wizcorp.phonegap.plugin.localNotification.LocalNotification"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="jp.wizcorp.phonegap.plugin.localNotification.AlarmReceiver" ></receiver>
<receiver android:name="jp.wizcorp.phonegap.plugin.localNotification.AlarmRestoreOnBoot" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</config-file>
<source-file src="platforms/android/src/jp/wizcorp/phonegap/plugin/localNotification/LocalNotification.java"
target-dir="src/jp/wizcorp/phonegap/plugin/localNotification"/>
<source-file src="platforms/android/src/jp/wizcorp/phonegap/plugin/localNotification/AlarmHelper.java"
target-dir="src/jp/wizcorp/phonegap/plugin/localNotification"/>
<source-file src="platforms/android/src/jp/wizcorp/phonegap/plugin/localNotification/AlarmOptions.java"
target-dir="src/jp/wizcorp/phonegap/plugin/localNotification"/>
<source-file src="platforms/android/src/jp/wizcorp/phonegap/plugin/localNotification/AlarmReceiver.java"
target-dir="src/jp/wizcorp/phonegap/plugin/localNotification"/>
<source-file src="platforms/android/src/jp/wizcorp/phonegap/plugin/localNotification/AlarmRestoreOnBoot.java"
target-dir="src/jp/wizcorp/phonegap/plugin/localNotification"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="LocalNotification">
<param name="ios-package" value="LocalNotification"/>
<param name="onload" value="true" />
</feature>
<plugin name="LocalNotification" value="LocalNotification"/>
</config-file>
<!-- Plugin files -->
<header-file src="platforms/ios/HelloCordova/Plugins/LocalNotification/LocalNotification.h" />
<source-file src="platforms/ios/HelloCordova/Plugins/LocalNotification/LocalNotification.m" compiler-flags="-fno-objc-arc" />
<!-- Custom Logger -->
<header-file src="platforms/ios/HelloCordova/Plugins/LocalNotification/WizDebugLog.h"
target-dir="WizCanvas" />
</platform>
<license>MIT</license>
</plugin>