Send FCM Push Notification Using Application

Send FCM Push Notification Using Application

I am exited to share updated firebase token generate method for the send Push Notification using the Frontend React Native, iOS and Android app side.

Updated send push notification API document available below FCM console page.

https://firebase.google.com/docs/cloud-messaging/migrate-v1

But not available details of how to generate Bearer {token}

Follow the below steps for the generate Bearer {token}.

Step 1:

Open the Postman > Create new POST request

Step 2:

Enter below URL with your firebase project id

https://fcm.googleapis.com/v1/projects/YOUR_PROJECT_ID/messages:send

Step 3:

Go to the Authorization tab > You can see like Image 1 > Click on the Firebase Cloud Messaging AP

Image 1

After click on the Firebase Cloud Messaging AP you can see option like Image 2 > Click on the Authorize.

Once you click after that ask google login you can use same firebase gmail login detail login.

Image 2

Once you follow above steps you can generate Bearer token for the send Push Notification using application side.

Token view look like below Image 3

Image 3



要查看或添加评论,请登录

社区洞察

其他会员也浏览了