i have made an windows phone 8.1 application using cordova(Phonegap). i am using PushPlugin for notification. it works perfectly fine for Android and iOS, but for Windows phone 8.1 it doesnt work. actually it works randomly. i am using Toast notification for windows. so some times i receive toast notification some times i dont. i am successfully genrating channel and registering at MPNS notification uri is something like given below.
http://ift.tt/1bJXBD4........
- CASE I.
server side implementation is in PHP. when i receive Toast Notification on windows device response at 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 dont recive a Toast notification, response at server is Blank Array( [] ). I am wondering why response is blank array instead of any proper response as describe above?
i have tried both cases with Wifi and Data Connection, but result is same.
Aucun commentaire:
Enregistrer un commentaire