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.
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]
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.
source to share
No one has answered this question yet
See similar questions: