First, we create an FCM project and get googlePlayService.json, and if we send a notification using the FCM console, then the notification will be sent successfully in our Android application. But if we send a notification through the local server, then 401 unauthorized errors will be sent, please suggest me we change the code on the php server or on Android.
source
share