Baidu Push Notification - ChannelId and UserId is not unique

只谈情不闲聊 提交于 2019-12-13 03:29:50

问题


I am developing ionic mobile application and integrating with Baidu push service.

Plugin used : https://www.npmjs.com/package/cordova-plugin-push-baidu

When I call startWork plugin method, am getting ChannelId and UserId.

Issue :

I login with User 1. I get token channelId C1 and UserId U1. Now, I logout.

I login with User 2. But still I get C1 and U1 which is same as what I got for User 1.

Now my question is :

If I send notification to User 1, will it trigger in device since ChannelId is same for User 1 and User 2.

For GCM and APNS, device registration gives different tokens but in case of Baidu ChannelId is same.

Please clarify.

Any update ?

来源:https://stackoverflow.com/questions/49249030/baidu-push-notification-channelid-and-userid-is-not-unique

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!