Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I haven a Laravel app with a chat functionality which is working with an event called MessageSent. This event is broadcasted to a private channel, following the instructions of the documentation.

This is working for my web listener, but now I need to send a notification to my FCM and APN channels.

What's a good approach to achieve this functionality? Do I have to create a notification or does this event class MessageSent works for broadcast on FCM and APN channels?

Thanks in advance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

You can use livewire OR Pusher for instant notifications.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...