We're working on an IOS MDM solution and we successfully enrolled a device.
Now I'm trying to Push Notification to the device using Pushsharp running on local machine but it does not reach the device and nothing is printed in the logs on Apple Device Console. Below is how we send the notification
apnsBroker.QueueNotification(new ApnsNotification
{
DeviceToken = "257c62d6336b489b78ad32b870e8d5c62a4c84bcddda2c3cbf943019XXXXXXXX",
Payload = JObject.Parse("{\"mdm\":\"484D82B8-F8BF-4B07-B1C1-F935XXXXXXX\"}}")
});
The response says Apple Notification Sent
But nothing on the device.
Any help or any alternatives to Pushsharp which can be used in C#?