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

Unable to send FCM android push using setTopic("ALL") method -> "No FCM token found for notifiable." #93

Open
tech-kombee opened this issue Mar 23, 2020 · 0 comments

Comments

@tech-kombee
Copy link

When we want to broadcast any information to all our user, we would want to use setTopic($topic_name) method and passing "ALL" as topic name.

However when we try to use this method, it is still asking for the token which contradicts to the fact that Firebase do not require token when we are using "topic"!

Reference Link : https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages

Looking at the source code of FcmChannel.php (https://github.com/laravel-notification-channels/fcm/blob/master/src/FcmChannel.php), it looks like "topic" & "condition" related information are not handled while sending firebase push notification!

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

No branches or pull requests

1 participant