Loading Example/www/index.html +5 −1 Changes for Example/www/index.html: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -102,8 +102,12 @@ NOTE: { $("#app-status-ul").append('<li>--INLINE NOTIFICATION--' + '</li>'); // on Android soundname is outside the payload. // On Amazon FireOS all custom attributes are contained within payload var soundfile = e.soundname || e.payload.sound; // if the notification contains a soundname, play it. var my_media = new Media("/android_asset/www/"+e.soundname); var my_media = new Media("/android_asset/www/"+ soundfile); my_media.play(); } else Loading Loading
Example/www/index.html +5 −1 Changes for Example/www/index.html: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -102,8 +102,12 @@ NOTE: { $("#app-status-ul").append('<li>--INLINE NOTIFICATION--' + '</li>'); // on Android soundname is outside the payload. // On Amazon FireOS all custom attributes are contained within payload var soundfile = e.soundname || e.payload.sound; // if the notification contains a soundname, play it. var my_media = new Media("/android_asset/www/"+e.soundname); var my_media = new Media("/android_asset/www/"+ soundfile); my_media.play(); } else Loading