-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi! Very useful code. You don't know how to put the badge number on the application icon? I think this would be a very useful addition to your code.
I tried to add this code to yours. But nothing came of it:
`
Console.WriteLine("Set badge");
var template = "<badge value=\"" + number + "\" />";
var templateXml = new XmlDocument();
templateXml.LoadXml(template);
var badge = new BadgeNotification(templateXml);
BadgeUpdateManager.CreateBadgeUpdaterForApplication(appId).Update(badge);
`
I really hope for your help.
Metadata
Metadata
Assignees
Labels
No labels