MPNS messages not working

I made a Windows Phone 8.1 app using cordova (Phonegap). I am using PushPlugin for notification. It works fine for Android and iOS, but it doesn't work for Windows Phone 8.1. It actually works in a random way.

I am using Windows Toast notification. So I get toast notification several times; several times I don't.

I successfully create a channel and register with MPNS. The notification URI is something like the one below.

http://s.notify.live.net/u/1/sin/H2QAAAAVvWfCaYxRXqTAKuMvkQn........

      

  • CASE I.

    The server side implementation is done in PHP. When I receive a Toast Notification on a Windows device, the response on the server is

    [HTTP/1.1 200 OK
    Cache-Control: private
    Server: Microsoft-IIS/8.0
    X-Server: RD000D3A107A1E
    X-DeviceConnectionStatus: Connected
    X-NotificationStatus: Received
    X-SubscriptionStatus: Active
    X-MessageID: 00000000-0000-0000-0000-000000000000
    X-AspNet-Version: 4.0.30319
    Date: Wed, 06 May 2015 11:00:45 GMT
    Content-Length: 0]
    
          

  • CASE II.

    But when I don't receive the Toast notification, the response on the server is

    Blank Array( [] )
    
          

    I am wondering why the answer is an empty array instead of any correct answer as described above.

I've tried both cases with Wifi and Data Connection, but the result is the same.

+3
windows cordova-plugins windows-phone-8.1 mpns phonegap-pushplugin


source to share


No one has answered this question yet

See similar questions:

0
Configuring WNS service for Windows 8 phone gets error after adding <Identity> tag

or similar:

3
Microsoft Push Notification Service and Windows Phone 7/8
3
Amazon SNS: JSON Toasts for Windows Phones
2
push notifications with parameter are not received by Windows phone
1
Windows Phone app not receiving push notification from Parse.com
1
MPNS Bad Request Windows Phone 8.1 (Cordova / Phonegap)
1
Invalid MPNS request on push notification (WP 8.1)
0
HttpClient with Windows Phone 8.1
0
Why isn't my toast message showing on my screen when my phone is disconnected?
0
Windows Phone 8.1 Push Notification Without Azure Account (not Silverlight)
0
Windows Tile Push Notification Not Receiving?



All Articles
Loading...
X
Show
Funny
Dev
Pics