- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Our application works with OneSignal for push notifications.
Android works perfectly well.
But it's not working with Windows Phone.
When you open the application with a WP8.1 phone, the registration with OneSignal does well, but next when you try to send a push message, it does't reach the phone.
Onesignal.com technical support advised me to consult with you and sent me this message:
*********************************************
We received a "Blocked URL channel" response from Microsoft for this device.
x-WNS-status ":" dropped "
x-WNS-deviceconnectionstatus: "connected"
x-WNS-msg-id: "6E40271477CA5687"
x-WNS-Error-description: "Blocked URL channel"
x-WNS-debug-trace "BN3SCH030010717"
It looks like this Means That the app does not have "Toast Capable" set.
I recommend you ask Intel to confirm the following will enable this for Their Intel XDK.
<Preference name = "WindowsToastCapable" value = "true" />
*********************************************
I added the line <preference name = "WindowsToastCapable" value = "true" /> at the end of the file intelxdk.config.additions.xml but next, I didn't receive the Push message for the windows phone.
I appreciate your help
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fabian,
Which plugin are you using for push notifications? Did you check its readme to see if it works for Windows Phone?
Pamela
(Thank you for creating separate threads for different issues!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pamela,
The plugin is right and works for Windows Phone, iOS and Android.
The company OneSignal suggests to install the plugin for proper operation:
https://documentation.onesignal.com/docs/phonegap-sdk-installation
The plugin is as follows:
https://github.com/one-signal/OneSignal-Cordova-SDK.git#PGB-Compat
This plugin works perfectly with Android. But for some reason you are not getting push notifications for Windows Phone.
The support of the company OneSignal asked me to consult with you
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Based on my research for that preference (<preference name = "WindowsToastCapable" value = "true" />) it may be that it only works with the "windows" target and not the "windows8" target.
Are you able to try this experiment using a Windows 10 device and the Windows UAP build?
For reference:
- https://cordova.apache.org/announcements/2015/06/03/windows-release.html
- https://software.intel.com/en-us/xdk/faqs/cordova#cordova-version
- https://cordova.apache.org/docs/en/5.4.0/config_ref/index.html (not found)
- https://cordova.apache.org/docs/en/latest/config_ref/index.html (found)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
My device for testing is Windows Phone 8.1.
I added this line: <preference name="windows-target-version" value="8.1" /> and <preference name="WindowsToastCapable" value="true" /> into the file intelxdk.config.additions.xml
I build on Windows Phone 8.1
next I installed the app into my WP8.1
but the same thing happened again. The registration functioned, but when I sent a push notification the phone didn't receive it.
And next the device is unsubscribed on OneSignal
I do not know what else to do...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fabian,
Is your host machine Windows8? If so, you can test on that.
Pamela
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you everyone for your help.
Finally the problem has been resolved, in part, because of the links and help you have given me.
I only needed to enter thess lines on the bottom of the file intelxdk.config.additions.xml
<preference name="windows-target-version" value="8.1" />
<preference name="WindowsToastCapable" value="true" />
Regards

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page