kawankoding / laravel-fcm

Firebase Cloud Messaging (FCM) sender for Laravel
172 stars 56 forks source link

There is a limit for sending ? #46

Open kossa opened 4 years ago

kossa commented 4 years ago

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 ?

erlangparasu commented 2 years ago

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

erlangparasu commented 1 year ago

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