hms-push-serverdemo-nodejs
hms-push-serverdemo-nodejs copied to clipboard
Node.js sample code encapsulates APIs of the HUAWEI Push Kit server. It provides many sample programs for your reference or usage.
This is very old.. any change HMS can update the examples? Or reference updated samples?
Is there away to send message to all users without there tokens ?
The link leads to archived docs:  https://developer.huawei.com/consumer/cn/doc/development/HMS-Guides/push-introduction
Just some simple code showing what we might want to do when getting different errors. It's a bit hard to find at the moment.
I am using your example send_notify_message.js file from HUAWEI Push Kit(NodeJs). I get a success message in NodeJs log. { code: '80000000', msg: 'Success', requestId: '160213898154027353000507' } I can see...