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 ...

Get Ionic 2 Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.