Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a limit for sending ? #46

Open
kossa opened this issue Aug 2, 2020 · 2 comments
Open

There is a limit for sending ? #46

kossa opened this issue Aug 2, 2020 · 2 comments
Labels

Comments

@kossa
Copy link

kossa commented Aug 2, 2020

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
Copy link
Collaborator

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

@erlangparasu
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants