Reputation: 778
After tracing the link below, my dummy Android application always got an unauthorized notification hub exception
https://azure.microsoft.com/en-us/documentation/articles/notification-hubs-android-get-started/
What could be the reason for this error?,
Upvotes: 2
Views: 1765
Reputation: 2249
Make sure your phone's date and time are the same as Azure's. Or just use automatic time and date settings.
Upvotes: 4
Reputation: 766
Did you verify that your hub name and connection string were filled in within the Android Application? You should have values for the lines:
private String HubName = "<Enter Your Hub Name>";
private String HubListenConnectionString = "<Your default listen connection string>";
Just a guess given the details provided
Upvotes: 0