Send FCM Push Notification Using Application
CodeInfoWay
Building Mobile Application Development - iOS, React Native, Flutter and Android
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.
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
Step 3:
Go to the Authorization tab > You can see like Image 1 > Click on the Firebase Cloud Messaging AP
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.
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