Hello,
A bunch of devices are registered on my server. I have saved the mapping between device Id and PNS token, I have used the device Id as the installation ID to register template notification push on notification hub using installation method.
I have read the doc and saw that there is no such a way to target for specific token or installation ID.
This is the doc I read to send via template: https://video2.skills-academy.com/en-us/rest/api/notificationhubs/send-template-notification.
I noticed that the article(https://video2.skills-academy.com/en-us/azure/notification-hubs/notification-hubs-push-notification-registration-management) mentioned that I can actually send through instllation ID:
The installation model supports a special tag format ($InstallationId:{INSTALLATION_ID}) that enables sending a notification directly to the specific device. For example, if the app's code sets an installation ID of joe93developer for this particular device, a developer can target this device when sending a notification to the $InstallationId:{joe93developer} tag. This enables you to target a specific device without having to do any additional coding.
- I would like to ask how can I target specific users and send message using installation method? I have seen people using tags, however I don't want to use this method because I cannot previously categorize the users into different tags.
- I don't know if this is applicable for template notification by adding the installation ID to ServiceBusNotification-Tags in the header.
- Will there be any batch Api that I can do so that I don't need to call the same API for many times?
- I would also like ask will there be any method that I can push via specific token using template?
Thank you.