Browse Source

Default ID for Android is 0

Sebastián Katzer 11 năm trước cách đây
mục cha
commit
abb93d520f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      www/local-notification.js

+ 1 - 0
www/local-notification.js

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