Closed TimKolberger closed 7 years ago
Hi,
This is quite strange, since it is not an expected payload. Could you please specify how exactly did you send this notification? Was it sent via the dashboard or via API (if so, please provide us with your /createMessage request)?
I sent the notification via the pushwoosh dashboard. I sent a 'standard' Notification, and the Toast Notification. Either of them are not accessible in my notification listener.
any news on this issue?
Hi,
At the moment pushwoosh-phonegap-plugin does not support push content on Windows platform. As a workaround, to pass any data to your app you can use "data" key in your /createMessage request.
Unfortunately this workaround is not applicable for me. I would have to update the backend services for this to work. Please let me know when the bug is fixed.
+1
The workaround is available by putting push title and any other necessary fields to the push custom data, which is available on the device.
Environment: Cordova 4.2 with the latest pushwoosh-phonegap-plugin on the windows platform.
I am receiving the notification from pushwoosh in my listener and the it is visible on the screen with its text, but its payload in my listener is not as expected:
document.addEventListener('push-notification', onNotification);