June 2018
Beginner to intermediate
394 pages
9h 2m
English
Firebase Cloud Messaging for Android expects some basic features such as the FirebaseMessaging class and Android Studio 1.4 and above with Gradle. The next step assumes that you have a Firebase connected project and we are trying to accelerate the FCM implementation in Android.
Add the following dependency to your app-level Gradle file:
implementation 'com.google.firebase:firebase-messaging:15.0.2'
Add the following to the applications manifest file. This is a service class that extends to FirebaseMessagingService. It is required for handling messages, sending upstream messages, and so forth:
<service android:name=".MyFirebaseMessagingService"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT" ...
Read now
Unlock full access