plugin.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. id="de.appplant.cordova.plugin.local-notification"
  5. version="0.8.1dev">
  6. <name>LocalNotification</name>
  7. <description>The plugin supports scheduling local notifications in various ways with a single interface. It also allows you to update, clear or cancel them. There are different interfaces to query for local notifications and a complete set of events to hook into the life cycle of local notifications. To get a deep overview we recommend to read about all the topics in our wiki and try out the Kitchen Sink App</description>
  8. <repo>https://github.com/katzer/cordova-plugin-local-notifications.git</repo>
  9. <keywords>appplant, notification, local notification</keywords>
  10. <license>Apache 2.0</license>
  11. <author>Sebastián Katzer</author>
  12. <!-- cordova -->
  13. <engines>
  14. <engine name="cordova" version=">=3.0.0" />
  15. </engines>
  16. <!-- dependencies -->
  17. <dependency id="org.apache.cordova.device" />
  18. <!-- info -->
  19. <info>
  20. Your support is needed. If you use the plugin please support us in order to ensure further development.
  21. https://github.com/katzer/cordova-plugin-local-notifications/tree/example#how-can-i-support-the-further-development
  22. Thank you!
  23. </info>
  24. <!-- js -->
  25. <js-module src="www/local-notification.js" name="LocalNotification">
  26. <clobbers target="cordova.plugins.notification.local" />
  27. <clobbers target="plugin.notification.local" />
  28. </js-module>
  29. <!-- ios -->
  30. <platform name="ios">
  31. <config-file target="config.xml" parent="/*">
  32. <feature name="LocalNotification">
  33. <param name="ios-package" value="APPLocalNotification" onload="true" />
  34. <param name="onload" value="true" />
  35. </feature>
  36. </config-file>
  37. <header-file src="src/ios/AppDelegate+APPLocalNotification.h" />
  38. <source-file src="src/ios/AppDelegate+APPLocalNotification.m" />
  39. <header-file src="src/ios/APPLocalNotification.h" />
  40. <source-file src="src/ios/APPLocalNotification.m" />
  41. <header-file src="src/ios/APPLocalNotificationOptions.h" />
  42. <source-file src="src/ios/APPLocalNotificationOptions.m" />
  43. <header-file src="src/ios/UIApplication+APPLocalNotification.h" />
  44. <source-file src="src/ios/UIApplication+APPLocalNotification.m" />
  45. <header-file src="src/ios/UILocalNotification+APPLocalNotification.h" />
  46. <source-file src="src/ios/UILocalNotification+APPLocalNotification.m" />
  47. </platform>
  48. <!-- android -->
  49. <platform name="android">
  50. <config-file target="res/xml/config.xml" parent="/*">
  51. <feature name="LocalNotification">
  52. <param name="android-package" value="de.appplant.cordova.plugin.localnotification.LocalNotification"/>
  53. </feature>
  54. </config-file>
  55. <config-file target="AndroidManifest.xml" parent="/manifest/application">
  56. <receiver
  57. android:name="de.appplant.cordova.plugin.localnotification.TriggerReceiver"
  58. android:exported="false" />
  59. <receiver
  60. android:name="de.appplant.cordova.plugin.localnotification.ClearReceiver"
  61. android:exported="false" />
  62. <activity
  63. android:name="de.appplant.cordova.plugin.localnotification.ClickActivity"
  64. android:launchMode="singleInstance"
  65. android:theme="@android:style/Theme.NoDisplay"
  66. android:exported="false" />
  67. <receiver
  68. android:name="de.appplant.cordova.plugin.notification.TriggerReceiver"
  69. android:exported="false" />
  70. <receiver
  71. android:name="de.appplant.cordova.plugin.notification.ClearReceiver"
  72. android:exported="false" />
  73. <receiver android:name="de.appplant.cordova.plugin.localnotification.RestoreReceiver" android:exported="false" >
  74. <intent-filter>
  75. <action android:name="android.intent.action.BOOT_COMPLETED" />
  76. </intent-filter>
  77. </receiver>
  78. <activity
  79. android:name="de.appplant.cordova.plugin.notification.ClickActivity"
  80. android:launchMode="singleInstance"
  81. android:theme="@android:style/Theme.NoDisplay"
  82. android:exported="false" />
  83. </config-file>
  84. <config-file target="AndroidManifest.xml" parent="/manifest">
  85. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  86. </config-file>
  87. <lib-file src="libs/android/android-support-v4.jar" />
  88. <source-file
  89. src="src/android/LocalNotification.java"
  90. target-dir="src/de/appplant/cordova/plugin/localnotification" />
  91. <source-file
  92. src="src/android/TriggerReceiver.java"
  93. target-dir="src/de/appplant/cordova/plugin/localnotification" />
  94. <source-file
  95. src="src/android/ClickActivity.java"
  96. target-dir="src/de/appplant/cordova/plugin/localnotification" />
  97. <source-file
  98. src="src/android/ClearReceiver.java"
  99. target-dir="src/de/appplant/cordova/plugin/localnotification" />
  100. <source-file
  101. src="src/android/RestoreReceiver.java"
  102. target-dir="src/de/appplant/cordova/plugin/localnotification" />
  103. <source-file
  104. src="src/android/notification/AbstractClearReceiver.java"
  105. target-dir="src/de/appplant/cordova/plugin/notification" />
  106. <source-file
  107. src="src/android/notification/AbstractClickActivity.java"
  108. target-dir="src/de/appplant/cordova/plugin/notification" />
  109. <source-file
  110. src="src/android/notification/AbstractRestoreReceiver.java"
  111. target-dir="src/de/appplant/cordova/plugin/notification" />
  112. <source-file
  113. src="src/android/notification/AbstractTriggerReceiver.java"
  114. target-dir="src/de/appplant/cordova/plugin/notification" />
  115. <source-file
  116. src="src/android/notification/AssetUtil.java"
  117. target-dir="src/de/appplant/cordova/plugin/notification" />
  118. <source-file
  119. src="src/android/notification/Builder.java"
  120. target-dir="src/de/appplant/cordova/plugin/notification" />
  121. <source-file
  122. src="src/android/notification/ClearReceiver.java"
  123. target-dir="src/de/appplant/cordova/plugin/notification" />
  124. <source-file
  125. src="src/android/notification/ClickActivity.java"
  126. target-dir="src/de/appplant/cordova/plugin/notification" />
  127. <source-file
  128. src="src/android/notification/Manager.java"
  129. target-dir="src/de/appplant/cordova/plugin/notification" />
  130. <source-file
  131. src="src/android/notification/Notification.java"
  132. target-dir="src/de/appplant/cordova/plugin/notification" />
  133. <source-file
  134. src="src/android/notification/Options.java"
  135. target-dir="src/de/appplant/cordova/plugin/notification" />
  136. <source-file
  137. src="src/android/notification/TriggerReceiver.java"
  138. target-dir="src/de/appplant/cordova/plugin/notification" />
  139. </platform>
  140. </plugin>