Answer the question
In order to leave comments, you need to log in
How to make push notifications for an authorized user knowing only his id?
How to make push notifications for an authorized user knowing only his id in the laravel + react bundle, i.e. you need to link laravel + react via socket.io, maybe there are ready-made examples
Answer the question
In order to leave comments, you need to log in
No way with bare laravel.
To do this, you need to bind the push service (the simplest solution) and work with its id.
The second option is fake push.
At each request of this user, check if there are any messages for him and if there are: show the modal.
The third option is to raise your server push notifications: google push server habr
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question