Hi,
I had followed the below article, however, few observations:
We are using NotificationHubClient.SendTemplateNotification, which accepts a dictionary<string,string>. Using this, the Android phones are receiving the notifications, but not the iPhones. When investigated, the APNS is expecting to have "aps" JSON element with "title" & "body" in it.
As the SendTemplateNotification is expecting Dictionary<string,string> the JSON string value is not being accepted in the appropriate format.
So we end up in using native Notification methods, from NotificationHubClient.
Now, if you have any working sample, where we can use SendTemplateNotification, please do let us know, which should work for both Android & iPhones.