Questions tagged [wns]

The Windows Push Notification Services (WNS) enables third-party developers to send toast, tile, badge, and raw updates from their own cloud service. This provides a mechanism to deliver new updates to your users in a power-efficient and dependable way.

100 questions
0
votes
0 answers

Host for Channel URI for WNS

While requesting channel URI from WNS, the channel uri received is of the form : https://hk2.notify.windows.com/?token=# Sometimes instead of hk2 it is seen as db3 in host of the channel URI. On what basis do we get the host of the channel URI?…
Tulika
  • 625
  • 1
  • 8
  • 23
0
votes
1 answer

Adaptive Toasts with Actions on Windows 10 can be sent through WNS?

Windows 10 came with actions in toast notifications, like you can see in here. But in the schema reference of them does not show "actions" as child elements. This notifications can be sent as push notifications through WNS or they can just be sent…
Vinicius Gualberto
  • 599
  • 1
  • 6
  • 15
0
votes
1 answer

GCM and WNS banning policy for sending push notifications to inactive devices

I know that APNS will ban a client who attempts to send multiple push notifications to inactive devices. What is the policy for keeping on sending push notifications to 'NotRegistered' devices in GCM and ' response code 410' channels in WNS? There…
0
votes
1 answer

Error invalid_request when try to receive WNS access token

As is mentioned in official doc I am using the exact order of request building: POST /accesstoken.srf HTTP/1.1 Host: login.live.com grant_type: client_credentials client_id:/here's my client id from dashboard/ client_secret: /here's my secret from…
Choletski
  • 7,074
  • 6
  • 43
  • 64
0
votes
1 answer

How to handle WNS (Push Notifications) in UWP with WinJS

I have coded an app with WinJS and that's ok. But I need to send push notifications (like toast) to this app. Server side in PHP it's ok and tested on a Apache Cordova app (Android and Windows Phone 8.1). But in UWP Windows 10 app with WinJS I don't…
0
votes
1 answer

Multiple WNS access_token for a single device single App?

I have a App running on one single Windows device. While authenticating it with WNS, I get an access_token in the response. Is it possible to make a request for more than one access_token? Will it invalidate the previously generated access_tokens…
Tulika
  • 625
  • 1
  • 8
  • 23
0
votes
1 answer

WNS Push Notifications fail in DEBUG mode with error: The Token obtained from Token Provider is wrong

I have a very simple Cordova app with push notifications. I'm using VS2015 Update 1 with the latest Cordova toolset (Update 7) and a properly setup Azure App Service. When I run a RELEASE Win10 x64 version of the application through VS, I receive…
SamG
  • 815
  • 8
  • 12
0
votes
1 answer

Xamarin Forms WinPhone 8.1 Silverlight WNS push notifications

I'm attempting to configure my app to use WNS instead of MPNS (I am using Xamarin Forms and have a Win Phone 8.1 Silverlight project with an Azure Notification hub for the back end), for that I updated my code to use the the mobile service to…
0
votes
1 answer

WinPhone 8.1 register Push Id to Azure notification hub error: The type name 'MobileService' does not exist in the type 'App'

I would like to configure Push notifications for a Xamarin Forms Windows 8.1 Silverlight project. Originally I was using MPNS but am attempting to switch over to WNS. Switching over I am now running into an error when I am attempting to call the…
0
votes
1 answer

c# windows 10 raw notification when app is CLOSED

I am developing a Windows 10 UWP application and I have a problem with raw notification sending and handling. I am sending the notification from a server written in php, and when app is open I can receive the sent raw notification. Below is the…
fatih
  • 73
  • 1
  • 13
0
votes
0 answers

App(WP8.1 RT) is getting crashed after i sent a Raw notification?

This is the background task code and I have used REST client to send the raw notification: public sealed class Class2:IBackgroundTask { public void Run(IBackgroundTaskInstance taskInstance) { var def = taskInstance.GetDeferral(); …
0
votes
1 answer

How to obtain Windows Notification Service?

I am developing a Windows 10 UWP application using c#, and I need to send push notifications. When I searched for it, learned that I need a Windows Notification Service, but I could not understand how can I have it. Can you explain or suggest me any…
fatih
  • 73
  • 1
  • 13
0
votes
1 answer

The WP8.1 application background task does not have the push notification capability.

For Push Notifications on WP8.1, with using WNS I get the following exception : The application background task does not have the push notification capability. (Exception from HRESULT: 0x803E0119) In my Package.appxmanifest file I have checked in…
Tulika
  • 625
  • 1
  • 8
  • 23
0
votes
1 answer

Push Notification in Windows App - How can I change the content of the Toast Message?

I have a Windows App developed with Cordova. I registered it with my Windows Developer Account and got my token etc. Now when I send a push message (toast) via Fiddler to the App, which is currently installed on an Windows Phone 8.1, I receive the…
Rence
  • 2,900
  • 2
  • 23
  • 40
0
votes
1 answer

Sending WNS toast via PHP

I am using a Javascript app in Visual studio 2015. That app requests a channelURL using the Windows Notification Service (WNS) and saves that on the server's database. In PHP with cURL I can request an access token, but when I don't know how to send…
whoami
  • 11
  • 2