Commit e72f497d by Sebastián Katzer

`ongoing` is platform specific

parent afc8ae4a
...@@ -24,7 +24,6 @@ var LocalNotification = function () { ...@@ -24,7 +24,6 @@ var LocalNotification = function () {
message: '', message: '',
title: '', title: '',
autoCancel: false, autoCancel: false,
ongoing: false,
badge: 0, badge: 0,
id: '0', id: '0',
json: '', json: '',
...@@ -86,6 +85,7 @@ LocalNotification.prototype = { ...@@ -86,6 +85,7 @@ LocalNotification.prototype = {
case 'Android': case 'Android':
defaults.icon = 'icon'; defaults.icon = 'icon';
defaults.smallIcon = null; defaults.smallIcon = null;
defaults.ongoing = false;
defaults.sound = 'TYPE_NOTIFICATION'; break; defaults.sound = 'TYPE_NOTIFICATION'; break;
case 'iOS': case 'iOS':
defaults.sound = ''; break; defaults.sound = ''; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment