4

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?

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

could you please share some code snippets through GitHub.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.