From 2ed18c26c1139fe686e54d2badf6ab7b43c81cf4 Mon Sep 17 00:00:00 2001 From: rudyzeinoun Date: Mon, 27 Jan 2014 17:10:35 +0200 Subject: [PATCH] Support for Sound property for toasts (GDR3+) --- lib/mpns.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/mpns.js b/lib/mpns.js index 168373d..a5bd925 100644 --- a/lib/mpns.js +++ b/lib/mpns.js @@ -268,6 +268,7 @@ function toastToXml(options) { wrapValue(options, 'text1', 'Text1') + wrapValue(options, 'text2', 'Text2') + wrapValue(options, 'param', 'Param') + + wrapValue(options, 'sound', 'Sound') + getPushFooter(type); } @@ -371,7 +372,8 @@ var properties = { toast: [ 'text1', 'text2', - 'param' + 'param', + 'sound' ], tile: [ 'backgroundImage',