Reputation: 1873
I have successfully coded my ionic app to receive and display push notification from Ionic.io. I am deploying on a real Android device.
For this I am sending notifications from the web dashboard.
Now I want to move this mechanism to my node js server to send the push notifications from there to my ionic app. I am following the guidelines mentioned on ionic io's website but it is not working. I have been struggling with this for hours and couldn't know what the blocking is, I am not sure if the POST parameters on the site are outdated or there is a specific way of achieving that.
What is the right way to send those notifications from a node js server?
Upvotes: 4
Views: 3372
Reputation: 1873
I ended up using node-gcm for this task.
To implement it I followed the tutorials 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.
Upvotes: 2