Reputation: 560
i cant find how to send a push using registered template name.
i am using this doc as reference.
http://msdn.microsoft.com/en-us/library/azure/dn530747.aspx
to recap my understanding.
i register my device with a tag AND a templatename.
await hub.RegisterTemplateAsync(channelUri, template, templateName, tags);
then to send
await hub.SendTemplateNotificationAsync(properties, tag);
Q1. how/what is the template name specified for the push?
any help appreciated.
-lp
Upvotes: 2
Views: 194
Reputation: 1604
Single device may have several template registrations. In that case some name is required to maintain them on device. Device SDKs usually use it.
For sending purposes only tags are used. So template name does not really matter for the sending perspective.
Upvotes: 3