Skip to content

Instantly share code, notes, and snippets.

View amitsemwal1's full-sized avatar
🎯
Focusing

amit semwal amitsemwal1

🎯
Focusing
View GitHub Profile
package com.example.confrencecalldemo;
//import com.android.contacts.common.CallUtil;
//import com.android.contacts.common.testing.NeededForTesting;
import android.hardware.camera2.CameraCharacteristics;
import android.net.Uri;
import android.os.Bundle;
import android.os.Trace;
We can send fcm notification using postman
Post Api Url:- https://fcm.googleapis.com/fcm/send
Headers contain two parameter
1)Authorization:- key="YourFCMServerKey"
2)Content-Type:- application/json
Body Parameter as below
{"notification":{"body":"Body Message","title":"Somebody sent you an message","badge":"1","sound":"default"},"to":"FcmDeviceToken"}