laravel-notification-channels / fcm

Firebase Cloud Messaging (FCM) notifications channel for Laravel
https://laravel-notification-channels.com/
MIT License
476 stars 123 forks source link

Worst debugging experience #123

Closed mkamranmalik72 closed 2 years ago

mkamranmalik72 commented 2 years ago

There is no debugging even if I dump and die it shows me a simple FcmMessage object, I can not debug errors spent more than 4 hours and even I can not verify whether the service account JSON file is being read by the package or not all the things are applied in the air. Whenever I notify users all the queue is processed and the notification is not sent. Need to add more exception handling there should be a method to verify that the service account JSON file is accessible or not also it should return some response for verification that notification is sent or not. Also need to complete its documentation because if follows the same 2 3 things in the documentation will not work

dwightwatson commented 2 years ago

This is open-source software. Please feel free to improve the documentation or the debugging experience.