How To Push Notification To Specific Users In Xamarin.forms Android?
I have Implemented push notification in xamarin.forms android using this but it sends the notification to all the device.I want to send notification to the specific users only.How
Solution 1:
We use tags for this. Each user has a user Id and so when the device registers with azure, you add their user Id as a tag to the registration.
protected override void OnRegistered(Context context, string registrationId) {
...
var tags = new List<string>() { "userId4" }; // Your UserId here
...
}
Post a Comment for "How To Push Notification To Specific Users In Xamarin.forms Android?"