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

Not able to receive notification in laravel backend vuejs frontend SPA! #20

Closed
vipin733 opened this issue Aug 4, 2018 · 2 comments
Closed

Comments

@vipin733
Copy link

vipin733 commented Aug 4, 2018

hi I'm using vue2 SPA front end and in backbend laravel API and also Laravel echo with redis for chat and for push notification i used this laravel-notification-channels/webpush but I mentioned the return ['broadcast', WebPushChannel::class]; I 'm Abel to receive notification via broadcasting in my front end but not push notification even though not getting any errors

Thanks

@cretueusebiu
Copy link
Owner

Make sure to register the service worker and save the user subscription like in this demo.

@vipin733
Copy link
Author

sorry to asking again i registered successfully my service worker when i try send notification I'm not able to see any notification and my backend and front end are on different server and different domain NAME

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

2 participants