Push notifications on Android are managed and dispatched using Firebase Cloud Messaging (FCM)
Create a Firebase project within the Firebase Console.
Click Add Project
Enter the project name, project ID and Country
Click CREATE PROJECT
Once the project is created you’ll be redirected to the Firebase project dashboard
Once the app has been registered, download the google-services.json file which will be used later
Click CONTINUE and then FINISH
Now that you have created the Firebase project and the app and downloaded the google-services.json file, you need to make some changes in the project.
android/app/google-services.jsonwith the one you downloaded earlier
android/app/google-services.json, find the project_number and copy the value
android/app/src/main/AndroidManifest.xmlfile, look for the line
<meta-data android:name="com.wix.reactnativenotifications.gcmSenderId" android:value="184930218130\"/>and replace the value with the one that you copied in the previous step
Leave the trailing \ intact
At this point, you can build the Mattermost app for Android and setup the Mattermost Push Notification Service.