Эх сурвалжийг харах

The `TYPE_NOTIFICATION` sound should play by default on Android

Sebastián Katzer 12 жил өмнө
parent
commit
f5c49b06cd

+ 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':