Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Azure Hub Registration Failure

$
0
0

Hi,

var cs = SBConnectionString.CreateListenAccess(new NSUrl("sb://yourservicebus-ns.servicebus.windows.net/"),
"YOUR-KEY");
// Register our info with Azure
var hub = new SBNotificationHub (cs, "your-hub-name");
hub.RegisterNativeAsync (deviceToken, null, err => {
if (err != null)
Console.WriteLine("Error: " + err.Description);
else
Console.WriteLine("Success");
});

I used these command to register my ios device with Azure hub. But it throwing an error that
unauthorized code.

Azure hub portal working fine android device using azure key , fullsharedaccess listener..

How can solve this ....


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>