Ionic 2 Typescript Push Notification Rest API


Can anyone share a sample.My requirement is that i have a backend service which gives me training notification of each user who has enrolled.

1.I have api which returns and store data related to training subscription.

My question is How can i use this api to make push notification working in Ionic 2 using typescript.

Do i need to configure Azure notification hub which will be as a middleman who will talk to my app and backend service.

Or do i have to use push notification service but how will communicate on my backend web API.

I am really confused .hence I need step by step solution for that.Thanks



Hope the Web API you are mentioning is web api 2.

Try using Push Sharp or Native HTML 5 push message.

You can add the to the api and receive it in the ionic app.