| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?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="de.appplant.cordova.plugin.local-notifications"
- version="0.6.0dev">
- <name>LocalNotifications</name>
- <description>A bunch of local-notification plugins for Cordova 3.x.x</description>
- <keywords>notification, local notification, alarm, scheduler, tile, live tiles, ios, android, windows phone 8, wp8</keywords>
- <license>GPL v2 License</license>
- <author>Sebastián Katzer (github.com/katzer)</author>
- <engines>
- <engine name="cordova" version=">=3.0.0" />
- </engines>
- <js-module src="www/local-notification.js" name="LocalNotification">
- <clobbers target="plugin.notification.local" />
- </js-module>
- <!-- ios -->
- <platform name="ios">
- <config-file target="config.xml" parent="/*">
- <feature name="LocalNotification">
- <param name="ios-package" value="APPLocalNotification"/>
- </feature>
- </config-file>
- <header-file src="src/ios/APPLocalNotification.h" />
- <source-file src="src/ios/APPLocalNotification.m" />
- </platform>
- <!-- android -->
- <platform name="android">
- <config-file target="res/xml/config.xml" parent="/*">
- <feature name="LocalNotification">
- <param name="android-package" value="de.appplant.cordova.plugin.LocalNotification"/>
- </feature>
- </config-file>
- <config-file target="AndroidManifest.xml" parent="/manifest/application">
- <!--
- * The alarm receiver is triggered when a scheduled alarm is fired. This class
- * reads the information in the intent and displays this information in the
- * Android notification bar. The notification uses the default notification
- * sound and it vibrates the phone.
- -->
- <receiver android:name="de.appplant.cordova.plugin.LocalNotificationReceiver" />
- <!--
- * This class is triggered upon reboot of the device. It needs to re-register
- * the alarms with the AlarmManager since these alarms are lost in case of
- * reboot.
- -->
- <receiver android:name="de.appplant.cordova.plugin.LocalNotificationRestore" >
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED" />
- </intent-filter>
- </receiver>
- </config-file>
- <config-file target="AndroidManifest.xml" parent="/manifest">
- <uses-permission android:name="android.permission.GET_TASKS" />
- </config-file>
- <source-file src="src/android/LocalNotificationReceiver.java" target-dir="src/de/appplant/cordova/plugin/localnotification" />
- <source-file src="src/android/LocalNotificationOptions.java" target-dir="src/de/appplant/cordova/plugin/localnotification" />
- <source-file src="src/android/LocalNotificationRestore.java" target-dir="src/de/appplant/cordova/plugin/localnotification" />
- <source-file src="src/android/LocalNotification.java" target-dir="src/de/appplant/cordova/plugin/localnotification" />
- </platform>
- <!-- wp8 -->
- <platform name="wp8">
- <config-file target="config.xml" parent="/*">
- <feature name="LocalNotification">
- <param name="wp-package" value="LocalNotification"/>
- <param name="wp-package" value="LocalNotificationOptions"/>
- </feature>
- </config-file>
- <source-file src="src/wp8/LocalNotification.cs" />
- </platform>
- </plugin>
|