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 on Android
You will be using the same code base as your iOS push notification example. The main difference is the process to set...