Building an Android app to receive push notifications

A 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 FCM server, which is a new replacement for Google Cloud Messaging (GCM). However, OneSignal 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.

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

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

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

Get Ionic Cookbook - Third 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.