laravel-notification-channels / fcm

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

Prevent Exception on Invalid Token #162

Closed ashwin-nath-m closed 1 year ago

ashwin-nath-m commented 1 year ago

Can we prevent an exception when sending a message to invalid token? Like when user uninstall the application.

dwightwatson commented 1 year ago

Not at this time - you should listen for the exception and remove the invalid tokens from your app.