Jelajahi Sumber

Icon can be specified by name through interface.

Sebastián Katzer 12 tahun lalu
induk
melakukan
d552949c31
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      www/local-notification.js

+ 1 - 0
www/local-notification.js

@@ -25,6 +25,7 @@ LocalNotification.prototype = {
             title:      '',
             badge:      0,
             id:         0,
+            icon:       'icon', // nur Android
             sound:      '', // nur iOS
             background: '',
             foreground: ''