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
caf387cb
Commit
caf387cb
authored
Jun 30, 2017
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace self.app to _app
parent
22ec9056
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
APPLocalNotification.m
src/ios/APPLocalNotification.m
+3
-3
No files found.
src/ios/APPLocalNotification.m
View file @
caf387cb
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
// NSNumber* id = [options objectForKey:@"id"];
// NSNumber* id = [options objectForKey:@"id"];
// UILocalNotification* notification;
// UILocalNotification* notification;
//
//
// notification = [
self.
app localNotificationWithId:id];
// notification = [
_
app localNotificationWithId:id];
//
//
// if (!notification)
// if (!notification)
// continue;
// continue;
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
{
{
[
self
.
commandDelegate
runInBackground
:
^
{
[
self
.
commandDelegate
runInBackground
:
^
{
[
_center
clearAllNotifications
];
[
_center
clearAllNotifications
];
[
self
.
app
setApplicationIconBadgeNumber
:
0
];
[
_
app
setApplicationIconBadgeNumber
:
0
];
[
self
fireEvent
:
@"clearall"
];
[
self
fireEvent
:
@"clearall"
];
[
self
execCallback
:
command
];
[
self
execCallback
:
command
];
}];
}];
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
{
{
[
self
.
commandDelegate
runInBackground
:
^
{
[
self
.
commandDelegate
runInBackground
:
^
{
[
_center
cancelAllNotifications
];
[
_center
cancelAllNotifications
];
[
self
.
app
setApplicationIconBadgeNumber
:
0
];
[
_
app
setApplicationIconBadgeNumber
:
0
];
[
self
fireEvent
:
@"cancelall"
];
[
self
fireEvent
:
@"cancelall"
];
[
self
execCallback
:
command
];
[
self
execCallback
:
command
];
}];
}];
...
...
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