O'Reilly logo

Ionic : Hybrid Mobile App Development by Hoc Phan, Sani Yusuf, Rahat Khanna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building an Android app to receive push notifications

Push notification works in the same way as iOS for Google. However, instead of using the Apple Notification Service, you will be working through the Firebase Cloud Messaging server, which is a new replacement for Google Cloud Messaging (GCM). However, Ionic Cloud abstracts this process so that you don't have to code using a different API. You will be using the same push object as for the iOS app.

Note

For more information about the differences between FCM and GCM, visit the FAQ at https://firebase.google.com/support/faq.

In this section, you will learn how to do the following things:

  • Set up Ionic Cloud for Android push notification
  • Configure the Firebase project for the push API
  • Write code to receive ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required