Pārlūkot izejas kodu

The `TYPE_NOTIFICATION` sound should play by default on Android

Sebastián Katzer 12 gadi atpakaļ
vecāks
revīzija
f5c49b06cd
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      www/local-notification.js

+ 2 - 2
www/local-notification.js

@@ -31,8 +31,8 @@ LocalNotification.prototype = {
 
         switch (device.platform) {
             case 'Android':
-                defaults.icon= 'icon';
-                defaults.sound = null; break;
+                defaults.icon = 'icon';
+                defaults.sound = 'TYPE_NOTIFICATION'; break;
             case 'iOS':
                 defaults.sound = ''; break;
             case 'WinCE': case 'Win32NT':