Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WNS

This fork enables custom path to audio file with:

var wns = require('wns');

var channelUrl = '{url to your application notification channel}';
var options = {
	client_id: '{your Package Security Identifier}',
	client_secret: '{your Client Secret}'
	audio: '{ src : "ms-appx:///" + "path_to_audio_file" }'
};

wns.sendToastText02(channelUrl, 'Yes!', 'It worked!', clientOptions, function(error, result) {
	if (error)
		console.error(error);
	else
		console.log(result);
});

About

Send push notifications to Windows 8 devices using WNS

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages