Richard
Richard

Reputation: 8935

Push Notifications with Ionic 2

I am trying to set up Push Notifications with Ionic 2.

I believe I need to set up Google Cloud Messaging (GCM). However, every tutorial I look at seems out of date, even pretty recent ones including this Ionic 2 one. I think Google have changed their service to rather use Firebase.

Does anyone have reference to a tutorial that explains how to set up GCM with Ionic 2 please? Or is there a better alternative?

Upvotes: 2

Views: 2805

Answers (1)

Teyam
Teyam

Reputation: 8082

Basically, you can still use the GCM Setup Guide for Ionic but now, you need to add in the Migration Guide to know the updates or the changes that you also need to implement. Anyways, the latest version of GCM is FCM, but GCM is still currently supported.

Additionally, you can refer to these helpful links if you wish to migrate from GCM to FCM:

Lastly, this related SO post - Setup for Ionic Cloud using FCM now that GCM not available for new projects might also help.

Upvotes: 2

Related Questions