I've created a sample App with Cordova and a Mvc5 application that talks with Azure Notification Hubs. Registrations are handled by the backend because tags must be secured.
We have used three different templates registered from the backend for the iOS,WP8 and Android platforms; the backend can send a push notification with a $message
payload using sendtemplatenotificationasync
.
It's working but we have not used the templateName
.
Reading the Registration from your app Backend documentation , I've found this:
"You can identify the templates by using the TemplateName property of the registration".
Once I have successfully created a Registration with a templateName what can I do with it?
I expected to find an API Send method to be able to specify, besides the tags or tag expression, a specific templateName
; I have not found anything like this.
What's the meaning and the general use case of templateName
?