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

Sending Result is null #50

Open
jsaade opened this issue Sep 30, 2020 · 2 comments
Open

Sending Result is null #50

jsaade opened this issue Sep 30, 2020 · 2 comments
Labels

Comments

@jsaade
Copy link

jsaade commented Sep 30, 2020

When testing the library with 10-20 users, the result is an object and we are logging it to laravel.log
All works fine.

If we have 100+ tokens, the result is always null. How can we analyze what is happening

@erlangparasu
Copy link
Collaborator

please update to latest version then
maybe you can try it for adding

$fcm_response = fcm()-> ... ;
var_dump($fcm_response);
return [];

what is the result?

@erlangparasu
Copy link
Collaborator

Hi, @jsaade.. 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