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
9dd5e06f
Commit
9dd5e06f
authored
Jan 01, 2016
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support cordova-ios@4 and WKWebView Engine
parent
0ae10b80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
23 deletions
+3
-23
CHANGELOG.md
CHANGELOG.md
+1
-0
plugin.xml
plugin.xml
+1
-2
APPLocalNotification.m
src/ios/APPLocalNotification.m
+1
-21
No files found.
CHANGELOG.md
View file @
9dd5e06f
...
@@ -4,6 +4,7 @@ ChangeLog
...
@@ -4,6 +4,7 @@ ChangeLog
Please also read the
[
Upgrade Guide
](
https://github.com/katzer/cordova-plugin-local-notifications/wiki/Upgrade-Guide
)
for more information.
Please also read the
[
Upgrade Guide
](
https://github.com/katzer/cordova-plugin-local-notifications/wiki/Upgrade-Guide
)
for more information.
#### Version 0.8.3 (not yet released)
#### Version 0.8.3 (not yet released)
-
Support cordova-ios@4 and the new WKWebView Engine
-
New
`color`
attribute for Android (Thanks to @Eusebius1920)
-
New
`color`
attribute for Android (Thanks to @Eusebius1920)
-
New
`quarter`
intervall for iOS & Android
-
New
`quarter`
intervall for iOS & Android
-
Made small icon optional (Android)
-
Made small icon optional (Android)
...
...
plugin.xml
View file @
9dd5e06f
...
@@ -21,12 +21,11 @@
...
@@ -21,12 +21,11 @@
<engines>
<engines>
<engine
name=
"cordova"
version=
">=3.6.0"
/>
<engine
name=
"cordova"
version=
">=3.6.0"
/>
<engine
name=
"cordova-plugman"
version=
">=4.3.0"
/>
<engine
name=
"cordova-plugman"
version=
">=4.3.0"
/>
<engine
name=
"cordova-ios"
version=
"<4.0.0"
/>
</engines>
</engines>
<!-- dependencies -->
<!-- dependencies -->
<dependency
id=
"cordova-plugin-device"
/>
<dependency
id=
"cordova-plugin-device"
/>
<dependency
id=
"cordova-plugin-
registerusernotificationsettings
"
/>
<dependency
id=
"cordova-plugin-
app-event
"
/>
<!-- info -->
<!-- info -->
<info>
<info>
...
...
src/ios/APPLocalNotification.m
View file @
9dd5e06f
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#import "APPLocalNotificationOptions.h"
#import "APPLocalNotificationOptions.h"
#import "UIApplication+APPLocalNotification.h"
#import "UIApplication+APPLocalNotification.h"
#import "UILocalNotification+APPLocalNotification.h"
#import "UILocalNotification+APPLocalNotification.h"
#import "AppDelegate+APPRegisterUserNotificationSettings.h"
@interface
APPLocalNotification
()
@interface
APPLocalNotification
()
...
@@ -615,8 +614,7 @@
...
@@ -615,8 +614,7 @@
*/
*/
-
(
void
)
didRegisterUserNotificationSettings
:
(
UIUserNotificationSettings
*
)
settings
-
(
void
)
didRegisterUserNotificationSettings
:
(
UIUserNotificationSettings
*
)
settings
{
{
if
(
_command
)
if
(
_command
)
{
{
[
self
hasPermission
:
_command
];
[
self
hasPermission
:
_command
];
_command
=
NULL
;
_command
=
NULL
;
}
}
...
@@ -630,25 +628,7 @@
...
@@ -630,25 +628,7 @@
*/
*/
-
(
void
)
pluginInitialize
-
(
void
)
pluginInitialize
{
{
NSNotificationCenter
*
center
=
[
NSNotificationCenter
defaultCenter
];
eventQueue
=
[[
NSMutableArray
alloc
]
init
];
eventQueue
=
[[
NSMutableArray
alloc
]
init
];
[
center
addObserver
:
self
selector
:
@selector
(
didReceiveLocalNotification
:
)
name
:
CDVLocalNotification
object
:
nil
];
[
center
addObserver
:
self
selector
:
@selector
(
didFinishLaunchingWithOptions
:
)
name
:
UIApplicationDidFinishLaunchingNotification
object
:
nil
];
[
center
addObserver
:
self
selector
:
@selector
(
didRegisterUserNotificationSettings
:
)
name
:
UIApplicationRegisterUserNotificationSettings
object
:
nil
];
}
}
/**
/**
...
...
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