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
f9987b7b
Commit
f9987b7b
authored
Jan 31, 2014
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`oncancel` wasnt fired if `autoCancel` was set to true (#77)
parent
a386b264
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
README.md
README.md
+5
-2
ReceiverActivity.java
src/android/ReceiverActivity.java
+4
-0
No files found.
README.md
View file @
f9987b7b
...
@@ -41,11 +41,14 @@ Add the following xml to your config.xml to always use the latest version of thi
...
@@ -41,11 +41,14 @@ Add the following xml to your config.xml to always use the latest version of thi
```
```
or to use this exact version:
or to use this exact version:
```
```
<gap:plugin name="de.appplant.cordova.plugin.local-notification" version="0.
6.3
" />
<gap:plugin name="de.appplant.cordova.plugin.local-notification" version="0.
7.0
" />
```
```
More informations can be found
[
here
](
https://build.phonegap.com/plugins/
356
)
.
More informations can be found
[
here
](
https://build.phonegap.com/plugins/
413
)
.
## Release Notes
## Release Notes
#### Version 0.7.1 (not yet released)
-
[
bugfix:
]
`oncancel`
wasnt fired if
`autoCancel`
was set to true.
#### Version 0.7.0 (22.01.2014)
#### Version 0.7.0 (22.01.2014)
**Note:**
The new way of callback registration will be not compatible with previous versions! See #62
**Note:**
The new way of callback registration will be not compatible with previous versions! See #62
-
[
feature:
]
Added new callback registration interface and new callback types.
-
[
feature:
]
Added new callback registration interface and new callback types.
...
...
src/android/ReceiverActivity.java
View file @
f9987b7b
...
@@ -66,5 +66,9 @@ public class ReceiverActivity extends Activity {
...
@@ -66,5 +66,9 @@ public class ReceiverActivity extends Activity {
*/
*/
private
void
fireClickEvent
(
Options
options
)
{
private
void
fireClickEvent
(
Options
options
)
{
LocalNotification
.
fireEvent
(
"click"
,
options
.
getId
(),
options
.
getJSON
());
LocalNotification
.
fireEvent
(
"click"
,
options
.
getId
(),
options
.
getJSON
());
if
(
options
.
getAutoCancel
())
{
LocalNotification
.
fireEvent
(
"cancel"
,
options
.
getId
(),
options
.
getJSON
());
}
}
}
}
}
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