I'm migrating to this package from Laravel-FCM and so far so good. The only thing I need to figure out is how to hadle invalid tokens.
Using Laravel-FCM's FCM facade it's possible to call $response->tokensToDelete() and $response->tokensToModify() if the notification fails. Is there any equivalent when using larafirebase?
Also, it may be worth noting that when providing an additonal data array you should only use strings: anything else will result in a bad response.
Hi,
I'm migrating to this package from Laravel-FCM and so far so good. The only thing I need to figure out is how to hadle invalid tokens.
Using Laravel-FCM's FCM facade it's possible to call
$response->tokensToDelete()
and$response->tokensToModify()
if the notification fails. Is there any equivalent when using larafirebase?Also, it may be worth noting that when providing an additonal data array you should only use strings: anything else will result in a bad response.
Thanks