User ask absence to Supervisor. After saving a request to firebase database, user send notification to topic for approval.
Supervisor is subscribed to topic or we can send notification to supervisor's token.
I use FCM with library Retrofit2 to consume FCM HTTP Post API.
User ask absence to Supervisor. After saving a request to firebase database, user send notification to topic for approval. Supervisor is subscribed to topic or we can send notification to supervisor's token. I use FCM with library Retrofit2 to consume FCM HTTP Post API.
dependencies for retrofit2 in build.gradle