This is a real demenostration of how to use Android Studio with kotlin and wordpress to implement push notification using FirebaseService, onMessageReceived, FirebaseInstanceIdService, onTokenRefresh, sendRegistrationToServer

Folowing up with the previous article is required:
https://ahmadnaser.com/android-wordpress-blog-project-kotlin-volley-retrofit2-gson-okhttp-picasso-ahbottomnavigation/

Then you will be ready to proceed with this step by reserving yours gbeapis
1-reserve your WordPress hosting from greenbackend and get your wordpress greenbackend api license
http://greenbackend.com/developer-hosting

 

2-ADD the following permissoins and services to the manifest

3- FirebaseInstanceIDService

4- GreenFirebaseService