azure-notificationhub

Sending tags containing special characters to Azure Notification Hub

淺唱寂寞╮ 提交于 2019-12-10 22:32:53
问题 We want to use Azure Notification Hubs in our iPad app but we have run into a problem. The tags that determine who gets the push message is an email address and it works fine if it only contains normal characters. But it does not work when we try to send a tag looking like this: test+10@gmail.com or test%10@gmail.com We are using this method to send push from the backend: http://msdn.microsoft.com/en-us/library/windowsazure/dn539552.aspx When we do so we get this message: Invalid tag test+10

Mobile Service Configuration: MS_NotificationHubConnectionString Contains Invalid Setting Key “entitypath”

北城余情 提交于 2019-12-10 19:35:21
问题 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 created. HubName: "servicenamehub" ConnectionString "Endpoint=sb://servicenamehub-ns.servicebus.windows.net/; SharedAccessKeyName=DefaultFullSharedAccessSignature; SharedAccessKey={accesskey};EntityPath=servicenamehub": Error from create-Error: Invalid

Async task hanging [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 18:52:50
问题 This question already has an answer here : Deadlock using async & await (1 answer) Closed 3 years ago . 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, Task.Delay(500)) == task) { return true; } return false; } I noticed that SendAppleNativeNotificationAsync was hanging indefinitely (never returning out of the

How to configure Azure Notification Hub to use APNS token authentication mode?

允我心安 提交于 2019-12-10 15:24:37
问题 I am trying to add APNS connection in Azure Notification Hub with Token as authentication mode. I have searched around but I am not able to find any guides anywhere to make this work. Maybe someone has a link to a guide showing how to find the information needed? I tried to create a "APNs Auth Key" in Apple developer console, but that gives me a .p8 file and the token inside that file does not seem to be accepted, so I guess I need to find the token somewhere else. I hope someone have a link

Same Table, Notification Hub and server for two apps

天涯浪子 提交于 2019-12-10 12:48:17
问题 We got caught by Microsoft's abandonment of Silverlight and focus on UWP. This has ended up with us having to develop two dually focused apps (UWP and Silverlight), which has left us with two apps that cannot be bundled/packed together. We have therefore decided to have of the apps as a companion app. Both apps use authentication, at present time it is with Microsoft authentication. The services used for authentication is of the type Azure App Service - Mobile . The services besides

What does the following Azure Notification Hub REST response mean: 'The specified resource description is invalid.'?

本秂侑毒 提交于 2019-12-10 11:38:50
问题 I am trying to register my Windows Universal App for notifications from the Azure Notification Hub through our Java backend service. I debugged the app from Visual Studio, while it was running on my Windows Phone device. The app could properly get a ChannelUri and passed it along to our Java backend. (I ran the backend on my local PC.) The Java backend generated the following request for a template registration and tried to send it to the Azure REST Api: <?xml version="1.0" encoding="utf-8"?>

azure notification hubs - app uninstall

北城以北 提交于 2019-12-10 11:17:44
问题 I would like to use Azure Notification Hubs to send push notifications to users of my app running across iOS, Android and Windows Phone. I have managed to get the basics working but I don't know how to manage the App uninstall story. On starting, the mobile app will call my Identity Svc to get an Auth Token. It then calls its Platform Notification service (eg Google Cloud Messaging, APNS) to get a PNS Token. After persisting the token to local storage it will call a back-end Contact Svc to

Azure Notification Hub quota limits

旧街凉风 提交于 2019-12-09 19:10:06
问题 The notification hub REST API documentation mentions a quota for notification hubs in a given namespace. I couldn't find on the documentation nor the pricing page what are the boundaries for the quota for each plan. Empirically, i now know that on the free/basic tier the limit is 100 notification hubs per namespace. The maximum number of resources of type NotificationHub has been reached or exceeded. Actual: 100, Max allowed: 100. Can the quotas be raised? What are the costs? My current

Azure Notification Hubs registration time to live (90 days limit)

試著忘記壹切 提交于 2019-12-09 16:53:13
问题 Now I'm using PushSharp library to send Apple push notifications (through APNS), but I want to migrate to Notification Hubs for robustness and scalability. I'm planning to implement sending notification via Azure Notification Hubs using backend registration as described in this article. So: There is a method of backend API that an iOS client calls when it has push token updated. In this method I do the registration tagging it with user id. (Previously, I stored push token to user link in DB.)

Authenticated push notifications without publishing the App to the Windows Phone Store

自古美人都是妖i 提交于 2019-12-09 12:38:36
问题 We are currently developing a Windows Phone 8 application that won't be published to the Windows Phone Store but will be distributed through our Company Portal (Windows Intune Direct Management). Our team would like to add Push Notifications using MPNS (Microsoft Push Notification Service) but we are aware that, without submitting the app to the Windows Phone Store , we would be forced to use unauthenticated push notifications that are throttled to something like 500 notifications\day per