laravel-fcm icon indicating copy to clipboard operation
laravel-fcm copied to clipboard

There is a limit for sending ?

Open kossa opened this issue 3 years ago • 2 comments

Hello,

I have more than 1000 users, I want to send them a push, but seems it does not support this number,

I tried chunk, to send for example each 100, it send only for first chunk, any idea ?

kossa avatar Aug 02 '20 20:08 kossa

maybe try to add logger for each chunk.. some thing like var_dump($fcm_response); or logger('fcm_response', [$fcm_response]);

erlangparasu avatar Sep 02 '21 22:09 erlangparasu

Hi, @kossa .. maybe you can try to enable debug response. then check the firebase log in the laravel.log file.

fcm()
    ->to($recipients)
    // ...
    ->enableResponseLog()
    ->send();

if you like, please share the response log here so we can see the problem

erlangparasu avatar Apr 22 '23 00:04 erlangparasu