浏览代码

Default ID for Android is 0

Sebastián Katzer 11 年之前
父节点
当前提交
abb93d520f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      www/local-notification.js

+ 1 - 0
www/local-notification.js

@@ -83,6 +83,7 @@ LocalNotification.prototype = {
 
 
         switch (device.platform) {
         switch (device.platform) {
         case 'Android':
         case 'Android':
+            defaults.id         = 0;
             defaults.icon       = 'icon';
             defaults.icon       = 'icon';
             defaults.smallIcon  = null;
             defaults.smallIcon  = null;
             defaults.ongoing    = false;
             defaults.ongoing    = false;