Loading CHANGELOG.md +1 −0 Changes for CHANGELOG.md: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-lo #### Version 0.8.1 (not yet released) - Fire `clear` instead of `cancel` event when clicked on repeating notifications - Do not fire `clear` or `cancel` event when clicked on persistent notifications ### Version 0.8.0 (05.03.2015) Loading src/android/ClickActivity.java +2 −0 Changes for src/android/ClickActivity.java: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -43,9 +43,11 @@ public class ClickActivity extends de.appplant.cordova.plugin.notification.Click public void onClick(Notification notification) { LocalNotification.fireEvent("click", notification); if (!notification.getOptions().isOngoing()) { String event = notification.isRepeating() ? "clear" : "cancel"; LocalNotification.fireEvent(event, notification); } super.onClick(notification); } Loading Loading
CHANGELOG.md +1 −0 Changes for CHANGELOG.md: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-lo #### Version 0.8.1 (not yet released) - Fire `clear` instead of `cancel` event when clicked on repeating notifications - Do not fire `clear` or `cancel` event when clicked on persistent notifications ### Version 0.8.0 (05.03.2015) Loading
src/android/ClickActivity.java +2 −0 Changes for src/android/ClickActivity.java: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -43,9 +43,11 @@ public class ClickActivity extends de.appplant.cordova.plugin.notification.Click public void onClick(Notification notification) { LocalNotification.fireEvent("click", notification); if (!notification.getOptions().isOngoing()) { String event = notification.isRepeating() ? "clear" : "cancel"; LocalNotification.fireEvent(event, notification); } super.onClick(notification); } Loading