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
282875db
Commit
282875db
authored
Mar 22, 2014
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replacing a notification with the same ID may result into canceling both (Fix for #135)
parent
6d717f2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
CHANGELOG.md
CHANGELOG.md
+5
-0
APPLocalNotification.m
src/ios/APPLocalNotification.m
+4
-1
No files found.
CHANGELOG.md
View file @
282875db
## ChangeLog
## ChangeLog
#### Version 0.7.4 (not yet released)
-
[
bugfix:
]
Platform specific properties were ignored.
-
[
bugfix:
]
cancel may throw an error if the OS returns NIL values (iOS).
-
[
bugfix:
]
Replacing a notification with the same ID may result into canceling both (iOS).
#### Version 0.7.3 (16.03.2014)
#### Version 0.7.3 (16.03.2014)
-
[
bugfix:
]
cancel callbacks have not been fired after all notifications have been canceled on iOS.
-
[
bugfix:
]
cancel callbacks have not been fired after all notifications have been canceled on iOS.
-
[
change:
]
The
`oncancel`
callback will be called at last if
`autoCancel`
is set to true (iOS).
-
[
change:
]
The
`oncancel`
callback will be called at last if
`autoCancel`
is set to true (iOS).
...
...
src/ios/APPLocalNotification.m
View file @
282875db
...
@@ -106,7 +106,10 @@
...
@@ -106,7 +106,10 @@
if
([
self
isNotificationScheduledWithId
:
id
])
{
if
([
self
isNotificationScheduledWithId
:
id
])
{
UILocalNotification
*
notification
=
[
self
notificationWithId
:
id
];
UILocalNotification
*
notification
=
[
self
notificationWithId
:
id
];
[
self
cancelNotification
:
notification
fireEvent
:
NO
];
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
0
.
3
*
NSEC_PER_SEC
),
dispatch_get_main_queue
(),
^
{
[
self
cancelNotification
:
notification
fireEvent
:
NO
];
});
}
}
[
self
scheduleNotificationWithProperties
:
properties
];
[
self
scheduleNotificationWithProperties
:
properties
];
...
...
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