Firstly we create FCM project and get on googlePlayService.json file and if we send notification by using FCM console then Notification send successfully in our android app But if we send notification through local server then 401 unauthorized error comes so please suggest me can we change code in php server or android.
To get Firebase Cloud Messaging's Server Key, please goto your Firebase Console and see the following screen shot to get your "Server Key" value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With