kawankoding/laravel-fcm

There is a limit for sending ?

kossa opened this issue · 2 comments

kossa commented

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 ?

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

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