如何发送推送通知node.js永远

时间:2015-01-12 19:49:57

标签: node.js push-notification push everlive

我想用node.js推送通知,但node.js中的模块没有send方法。

1 个答案:

答案 0 :(得分:0)

使用此文档中的通知对象:http://docs.telerik.com/platform/backend-services/development/javascript-sdk/push-notifications/sending-push-from-client

el.data('Push/Notifications').create(notification, function(data) {
                        console.log(data);
                    }, function(e) {
                        console.log(e);
                    });