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
e72f497d
Commit
e72f497d
authored
Jan 22, 2014
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`ongoing` is platform specific
parent
afc8ae4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
local-notification.js
www/local-notification.js
+5
-5
No files found.
www/local-notification.js
View file @
e72f497d
...
...
@@ -24,7 +24,6 @@ var LocalNotification = function () {
message
:
''
,
title
:
''
,
autoCancel
:
false
,
ongoing
:
false
,
badge
:
0
,
id
:
'0'
,
json
:
''
,
...
...
@@ -84,11 +83,12 @@ LocalNotification.prototype = {
switch
(
device
.
platform
)
{
case
'Android'
:
defaults
.
icon
=
'icon'
;
defaults
.
smallIcon
=
null
;
defaults
.
sound
=
'TYPE_NOTIFICATION'
;
break
;
defaults
.
icon
=
'icon'
;
defaults
.
smallIcon
=
null
;
defaults
.
ongoing
=
false
;
defaults
.
sound
=
'TYPE_NOTIFICATION'
;
break
;
case
'iOS'
:
defaults
.
sound
=
''
;
break
;
defaults
.
sound
=
''
;
break
;
case
'WinCE'
:
case
'Win32NT'
:
defaults
.
smallImage
=
null
;
defaults
.
image
=
null
;
...
...
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