Questions tagged [azure-notificationhub]

A Microsoft Azure service which enables very-high-scale push notifications to Windows, Windows Phone, iOS, Android, and future platforms, using either native payloads or templates, and tags to target broadcasts widely or narrowly.

According to MSDN: http://msdn.microsoft.com/en-us/library/jj891130.aspx:

Notification Hubs are an Azure service which "enable you to access an easy-to-use, multiplatform, scaled-out push infrastructure, which simplifies the implementation of push notifications for both consumer and enterprise apps on mobile platforms."

Azure Notification Hubs abstracts the complexities of working with Windows Notification Services, Windows Mobile Notification Services, Apple Push Notification Services, and Google Cloud Messaging, so that a single method call can conceivably target any one device, or all of the devices, regardless of the device platform.

Marketing page with feature descriptions: http://azure.microsoft.com/en-us/services/notification-hubs/

832 questions
3
votes
1 answer

Async task hanging

I have the following code: public async Task SendPushNotificationAsync(string username, string message) { var task = ApnsNotifications.Instance.Hub.SendAppleNativeNotificationAsync(alert, username); if (await Task.WhenAny(task,…
SB2055
  • 12,272
  • 32
  • 97
  • 202
3
votes
2 answers

How to update Expiration Time in Azure Notification Hub registration?

I've been working with Azure Notification Hubs for awhile. However, I created a new Notification Hub for a new project and I've noticed some very odd behavior. Whenever I create a registration its ExpirationDate is set to 12/31/9999 7:59:59. So,…
James Scott
  • 990
  • 2
  • 10
  • 29
3
votes
3 answers

Azure Notification Hub: 'Test Send' was successfully sent, but not any GCM traffic. Why?

In the Azure Portal, I created a Notification Hub. And in "Push notification services - Google (GCM)", I entered the API Key value that I obtained from GCM. In order to verify my settings of Azure Notification Hub and GCM, I ran 'Test Send' in Azure…
3
votes
2 answers

cordova azure mobile apps & notification hub service

I'm creating a cordova project and use azure mobile app + notification hub service. In the cordova project, I add "cordova-plugin-ms-azure-mobile-apps" and "phonegap-plugin-push" plugins, but when run project I get an error: Failed to load…
3
votes
2 answers

NotificationHub Push Notification returns : The Token obtained from the Token Provider is wrong

I have Wp8.1 Silverlight app that receives push notification (WNS) from Mobileservice (the old azure service). I therefore wanted to update to the new service because of the new features. I have now created/upgraded a new server to use App Service…
3
votes
3 answers

Azure Notification Hubs: How to send localized, platform independent push notifications to individual users from a .net backend?

The scenario I am developing a backend for an localized, cross-platform mobile app and want to send push notifications to a user when some events occur in the backend. The apps are developed for iOS and android using xamarin and the backend is a…
3
votes
1 answer

Mobile Service Configuration: MS_NotificationHubConnectionString Contains Invalid Setting Key "entitypath"

I'm trying to create a new Azure Mobile Service, however when trying to call a Custom API it generates the following error in the logs of the service. An error occurred creating push for user scripts: azure.notificationHubService could not be…
3
votes
1 answer

Azure Notification Hub Xamarin Register Multiple For Multiple Templates

I need some help with registering an iOS device for multiple templates with Azure Notification Hubs. Registering for a single template works fine but it seems like when registering for multiple templates from a single device, the second template…
hvaughan3
  • 10,955
  • 5
  • 56
  • 76
3
votes
1 answer

Azure notification hub cross platform push

I need to send a push notification to mobile devices that have registered on my notification hub. The hub is set up to allow windows phone, apple and android devices to register, and I have the appropriate keys and certificates in place. (According…
AndrewS
  • 369
  • 5
  • 19
3
votes
3 answers

Delete registration in Azure notification hub

For my environment, I use Rest API to register/unregister my device with notification hub. Whenever my user logs in, my app registers with GCM, gets a registration ID, then registers with notification hub to receive notification. This works without…
Leo Chen
  • 969
  • 1
  • 11
  • 25
3
votes
1 answer

Azure Notification Hub Push Notifications to APNS Fail Half the Time

Sending a push notification from an Azure Mobile Services Notification Hub to an iOS device fails half the time with this error: The Push Notification System returned an Internal Server Error Here is my setup: Free Trial version of Azure Sandbox…
3
votes
1 answer

Azure Notification Hubs randomly not delivering to IOS

I'm using Azure Notification Hubs to push notifications to a Phonegap App currently installed on IOS. I'll also be sending to Android devices but my question is only about IOS at the moment. My problem is that messages are not delivering sometimes.…
John Mc
  • 2,862
  • 1
  • 22
  • 37
3
votes
1 answer

Is Azure Notification Hub so unstable?

I just did a little stress test on Azure Notification Hub. Sent 200 exactly the same messages to iPhone: There are 62 "The Push Notification System returned an Internal Server Error" And 138 "The Notification was successfully sent to the Push…
3
votes
1 answer

Azure Notification Hub Registrations fail with some tag formats

I'm using Xamarin on iOS against an Azure Notification hub. Things have been working fine for a while. But, I recently added a new TAG to a collection of tags that I register my devices against. Here is abbreviated code that WORKs: NSSet tags =…
3
votes
0 answers

Setting CORS headers in Azure mobile services Javascript backend

I am trying to register an android emulator (Genymotion) to an Azure notification hub, but during debugging I see that there is an error Refused to get unsafe header "Location" which from what I have gathered is a CORS issue. Now, is it possible in…