Ionic.io 从节点 js 服务器发送推送通知
Ionic.io send push notification from node js server
我已成功编写我的离子应用程序以接收和显示来自 Ionic.io 的推送通知。我正在真实的 Android 设备上部署。
为此,我从网络仪表板发送通知。
现在我想将此机制移动到我的节点 js 服务器,以将推送通知从那里发送到我的离子应用程序。我遵循 ionic io's website 中提到的指南,但它不起作用。
我已经为此苦苦挣扎了几个小时,不知道阻塞是什么,我不确定网站上的 POST 参数是否已过时或者是否有实现该目标的特定方法。
从节点 js 服务器发送这些通知的正确方法是什么?
我最终使用 node-gcm 完成了这项任务。
为了实现它,我遵循了教程 tutorial-1 and tutorial-2。
Update 2016
I forgot to mention that the following Youtube tutorial was extremely helpful too on the angular's side of ionic.
我已成功编写我的离子应用程序以接收和显示来自 Ionic.io 的推送通知。我正在真实的 Android 设备上部署。
为此,我从网络仪表板发送通知。
现在我想将此机制移动到我的节点 js 服务器,以将推送通知从那里发送到我的离子应用程序。我遵循 ionic io's website 中提到的指南,但它不起作用。 我已经为此苦苦挣扎了几个小时,不知道阻塞是什么,我不确定网站上的 POST 参数是否已过时或者是否有实现该目标的特定方法。
从节点 js 服务器发送这些通知的正确方法是什么?
我最终使用 node-gcm 完成了这项任务。
为了实现它,我遵循了教程 tutorial-1 and tutorial-2。
Update 2016
I forgot to mention that the following Youtube tutorial was extremely helpful too on the angular's side of ionic.