azure-notificationhub

Windows Azure Notification Hub Error

泄露秘密 提交于 2020-01-13 06:41:29
问题 I have just gotten this error. Everything was working fine up until this morning. Error: 400 - The request api-version is invalid because the the notification hub was created in an older version. Re-create the notification hub. TrackingId:aaed084f-8c8a-49f1-8246-122763437b63_G7,TimeStamp:5/15/2016 3:56:13 AM" In my node.js table script I am connecting to the hub like so: var azure = require('azure'); var hub = azure.createNotificationHubService('hubName','connectionString'); And sending like

NotificationHubUnauthorizedException: Unauthorized on Azure Notification Hub registration

馋奶兔 提交于 2020-01-11 09:59:51
问题 So I'm trying the Notification Hubs on Azure. I have set things up according to this blog post. I have done the GCM setup in my Android code so I have a valid regId: String connectionString = "Endpoint=sb://<MYNAMESPACE>.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=<MYKEY>"; hub = new NotificationHub("<MYHUB>", connectionString, this); hub.register(regid, "myTag"); So I get: com.microsoft.windowsazure.messaging

Azure notification hub sending notifications to iOS only

元气小坏坏 提交于 2020-01-06 02:32:15
问题 I'm working on a multi-platform app which includes push notifications. The issue I'm facing is described in the images below 1st Scenario : 2nd Scenario : However, when I test notification hub (using azure portal or Visual Studio), I receive notifications on all the devices. It seems that Azure Notification Hub is ignoring Android devices when an iOS device uses the same account (tag). Any help would be appreciated 回答1: For that type of issues, use the Service Bus Explorer. Likely, your

Azure notification hub best practice in social network scenario

淺唱寂寞╮ 提交于 2020-01-03 06:45:08
问题 I am wondering which is the best practice in Azure notification hub to send push notifications to a couple of certain users (e.g. about followed activities). Imagine, users can follow other users and these followers should be notified about new activities (facebook, twitter principle). How to send these notifications in detail, there are two options I am thinking about, but which one is the best? 1) looping through all desired users by code and calling SendTemplateNotificationAsync for each

Why are Azure Notification Hub tags not saving?

[亡魂溺海] 提交于 2019-12-31 05:40:27
问题 I am trying to send a message to notification hub, but my tags are not saving. I checked service hub with service hub explorer, and tags are empty: Registration of device: var hs = new HashSet<string>(); hs.Add(tag); hs.Add(sys.ToString()); switch (sys) { case SystemVendorEnum.Android: await Hub.CreateGcmNativeRegistrationAsync(pnsHandle, hs); break; case SystemVendorEnum.Ios: await Hub.CreateAppleNativeRegistrationAsync(pnsHandle, hs); break; } Test method invocation that sends message to

How to change the NOTIFICATION HUBS billing tier using powershell?

邮差的信 提交于 2019-12-25 08:04:03
问题 i need to change the notification hub tier free to standard using power shell script. help me on the script. i didn't find anything. I have tried using auto scale setting , but its not working. 回答1: In addition you can use the below request body to change the tier. This is using the Service Management API mentioned in the link above Request Method: PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}?api-version

Can we subscribe an email ID or Cell number as subscriber to Azure event hubs/notification hubs?

空扰寡人 提交于 2019-12-25 01:46:30
问题 In my python application, if any bad/good event happens, I want to send the event details as notification message to user's email addresses or phone #s that have been subscribed to this application. So I am looking for publisher-subscriber model azure cloud Looks like multiple Azure services achieving similar goal but having a thin line of differences. Event hubs and notification hubs seems promising. So my question is as follows: Can email ID/phone # be subscribed to Azure event hub and

Azure says my push notifications have all been sent on to FCM, but FCM hasn't received some of them

♀尐吖头ヾ 提交于 2019-12-24 10:45:13
问题 Sometimes notifications aren't received, but Azure gives back 'Enqueued' as the result of 'SendTemplateNotificationAsync'. I log everything in a database. I've checked the FCM registration token in the Google Play Console and there is no record of the notifications that didn't get received by the user (and there is a record of the ones that are received), yet Azure said they were 'Enqueued'. I checked the metrics graph in Azure Portal and the stats don't match up at all. Azure thinks they are

Unauthorized Exception when trying to register Xamarin App with Azure Notification Hub

荒凉一梦 提交于 2019-12-24 06:59:13
问题 We are trying to use Azure Notification Hub to deliver push notifications via GCM / Firebase to a Xamarin Forms application. This is the code we use to create the MobileServiceClient object in the PCL: public App() { mobileServiceClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient("https://namespace.servicebus.windows.net/NotificationHubName", new ModernHttpClient.NativeMessageHandler()); } As far as I understood the documentation, it shouldn't matter that we are not using

Unauthorized Exception when trying to register Xamarin App with Azure Notification Hub

匆匆过客 提交于 2019-12-24 06:59:08
问题 We are trying to use Azure Notification Hub to deliver push notifications via GCM / Firebase to a Xamarin Forms application. This is the code we use to create the MobileServiceClient object in the PCL: public App() { mobileServiceClient = new Microsoft.WindowsAzure.MobileServices.MobileServiceClient("https://namespace.servicebus.windows.net/NotificationHubName", new ModernHttpClient.NativeMessageHandler()); } As far as I understood the documentation, it shouldn't matter that we are not using