plugin.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
  3. id="de.appplant.cordova.plugin.local-notifications"
  4. version="0.4.0.dev">
  5. <name>LocalNotifications</name>
  6. <description>A bunch of local-notification plugins for Cordova 3.x.x</description>
  7. <keywords>notification, local notification, alarm, ios, android</keywords>
  8. <license>GPL v2 License</license>
  9. <author>Sebastián Katzer (github.com/katzer)</author>
  10. <engines>
  11. <engine name="cordova" version=">=3.0.0" />
  12. </engines>
  13. <js-module src="www/local-notification.js" name="LocalNotification">
  14. <clobbers target="plugin.notification.local" />
  15. </js-module>
  16. <!-- ios -->
  17. <platform name="ios">
  18. <config-file target="config.xml" parent="/*">
  19. <feature name="LocalNotification">
  20. <param name="ios-package" value="APPLocalNotification"/>
  21. </feature>
  22. </config-file>
  23. <header-file src="src/ios/APPLocalNotification.h" />
  24. <source-file src="src/ios/APPLocalNotification.m" />
  25. </platform>
  26. <!-- android -->
  27. <platform name="android">
  28. <config-file target="res/xml/config.xml" parent="/*">
  29. <feature name="LocalNotification">
  30. <param name="android-package" value="de.appplant.cordova.plugin.LocalNotification"/>
  31. </feature>
  32. </config-file>
  33. <source-file src="src/android/AlarmReceiver.java" target-dir="src/de/appplant/cordova/plugin" />
  34. <source-file src="src/android/AlarmHelper.java" target-dir="src/de/appplant/cordova/plugin" />
  35. <source-file src="src/android/AlarmOptions.java" target-dir="src/de/appplant/cordova/plugin" />
  36. <source-file src="src/android/AlarmRestoreOnBoot.java" target-dir="src/de/appplant/cordova/plugin" />
  37. <source-file src="src/android/LocalNotification.java" target-dir="src/de/appplant/cordova/plugin" />
  38. </platform>
  39. </plugin>