| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?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.1dev">
- <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>
- <dependency id="org.apache.cordova.device" url="https://github.com/apache/cordova-plugin-device" />
- <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.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.localnotification.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.localnotification.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>
|