Loading CHANGELOG.md +1 −0 Changes for CHANGELOG.md: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-lo #### Version 0.8.1 (not yet released) - Fix incompatibility with cordova version 3.5-3.0 - Fire `clear` instead of `cancel` event when clicked on repeating notifications - Do not fire `clear` or `cancel` event when clicked on persistent notifications Loading src/android/LocalNotification.java +6 −1 Changes for src/android/LocalNotification.java: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import java.util.ArrayList; import java.util.List; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaWebView; import org.apache.cordova.PluginResult; Loading Loading @@ -60,9 +61,13 @@ public class LocalNotification extends CordovaPlugin { /** * Called after plugin construction and fields have been initialized. * Prefer to use pluginInitialize instead since there is no value in * having parameters on the initialize() function. * * pluginInitialize is not available for cordova 3.0-3.5 ! */ @Override protected void pluginInitialize() { public void initialize (CordovaInterface cordova, CordovaWebView webView) { LocalNotification.webView = super.webView; } 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 @@ -5,6 +5,7 @@ Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-lo #### Version 0.8.1 (not yet released) - Fix incompatibility with cordova version 3.5-3.0 - Fire `clear` instead of `cancel` event when clicked on repeating notifications - Do not fire `clear` or `cancel` event when clicked on persistent notifications Loading
src/android/LocalNotification.java +6 −1 Changes for src/android/LocalNotification.java: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import java.util.ArrayList; import java.util.List; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaWebView; import org.apache.cordova.PluginResult; Loading Loading @@ -60,9 +61,13 @@ public class LocalNotification extends CordovaPlugin { /** * Called after plugin construction and fields have been initialized. * Prefer to use pluginInitialize instead since there is no value in * having parameters on the initialize() function. * * pluginInitialize is not available for cordova 3.0-3.5 ! */ @Override protected void pluginInitialize() { public void initialize (CordovaInterface cordova, CordovaWebView webView) { LocalNotification.webView = super.webView; } Loading