forked from asiFarran/Phonegap-Plugins-LocalNotifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
58 lines (49 loc) · 2.79 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.stratogos.cordova.localNotifications"
version="0.1.0">
<name>LocalNotifications</name>
<description>Cordova Local Notification Plugin</description>
<author>Asi Farran</author>
<license>Apache 2.0</license>
<keywords>cordova,notifications</keywords>
<js-module src="www/localNotification.js" name="GoogleAnalytics">
<clobbers target="plugins.localNotification" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="LocalNotification">
<param name="android-package" value="com.stratogos.cordova.localNotification.LocalNotificationPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.stratogos.cordova.localNotification.NotificationHandlerActivity"/>
<receiver android:name="com.stratogos.cordova.localNotification.AlarmReceiver" ></receiver>
<receiver android:name="com.stratogos.cordova.localNotification.AlarmRestoreOnBoot" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</config-file>
<source-file src="src/android/AlarmHelper.java" target-dir="src/com/stratogos/cordova/localNotification"/>
<source-file src="src/android/AlarmReceiver.java" target-dir="src/com/stratogos/cordova/localNotification"/>
<source-file src="src/android/AlarmRestoreOnBoot.java" target-dir="src/com/stratogos/cordova/localNotification"/>
<source-file src="src/android/LocalNotificationPlugin.java" target-dir="src/com/stratogos/cordova/localNotification"/>
<source-file src="src/android/NotificationHandlerActivity.java" target-dir="src/com/stratogos/cordova/localNotification"/>
<source-file src="src/android/libs/android-support-v4.jar" target-dir="libs/" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="LocalNotification">
<param name="ios-package" value="LocalNotificationPlugin"/>
</feature>
</config-file>
<header-file src="src/ios/AppDelegate+localNotification.h" />
<source-file src="src/ios/AppDelegate+localNotification.m" />
<header-file src="src/ios/LocalNotificationPlugin.h" />
<source-file src="src/ios/LocalNotificationPlugin.m" />
</platform>
</plugin>