Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cordova-plugin-local-notifications
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nabil Sadki
cordova-plugin-local-notifications
Commits
744b513c
Commit
744b513c
authored
Mar 08, 2015
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incompatibility with cordova version 3.5-3.0
parent
d01c621b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
LocalNotification.java
src/android/LocalNotification.java
+6
-1
No files found.
CHANGELOG.md
View file @
744b513c
...
...
@@ -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
...
...
src/android/LocalNotification.java
View file @
744b513c
...
...
@@ -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
;
...
...
@@ -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
p
rotected
void
pluginInitialize
(
)
{
p
ublic
void
initialize
(
CordovaInterface
cordova
,
CordovaWebView
webView
)
{
LocalNotification
.
webView
=
super
.
webView
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment