Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong userdata notification on chrome #6

Closed
superainovacoes opened this issue Jun 8, 2016 · 4 comments
Closed

wrong userdata notification on chrome #6

superainovacoes opened this issue Jun 8, 2016 · 4 comments

Comments

@superainovacoes
Copy link

superainovacoes commented Jun 8, 2016

Hi, i'm using the remove api /createmessage to send push to my clients.

i'm sending the same content to android/ios/wp/chrome but only on chrome i'm receveing the wrong content and userdata values.

/NODEJS/
var Pushwoosh = require('pushwoosh-client');
var clientPW = new Pushwoosh('app id', 'app token');

clientPW.sendMessage('any message', {
send_date: 'now',
ignore_user_timezone: true,

devices: ['ios id', 'android id', 'wp id', 'chrome id'],

platforms: [1, 3, 5, 9],

data: {     
    title: 'any title'',
    message: 'any message',
    image: 'http://...anyimage.png',
    url: 'http://...anyurl.com'
},

chrome_icon: 'http://...anyimage.png',
firefox_icon: 'http://...anyimage.png',

android_custom_icon: 'http://...anyimage.png',
android_vibration: 1,
android_ibc: '#ffffff'

});

https://community.pushwoosh.com/questions/3603/wrong-userdata-notification-on-chrome

@karudo
Copy link
Contributor

karudo commented Jun 9, 2016

What do you use site(url) where its happens?

@superainovacoes
Copy link
Author

mobile devices i receive the correct notification.

chrome - watching the logs at dev tools, the service worker request to pushwoosh api the last message but it returns a message that was send to another client.

@superainovacoes
Copy link
Author

hi, still not working in the last version

https://community.pushwoosh.com/questions/3603/wrong-userdata-notification-on-chrome

@superainovacoes
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants