fcm icon indicating copy to clipboard operation
fcm copied to clipboard

Can someone point me to an example of sending to all users

Open dan-lutd opened this issue 2 years ago • 2 comments

Is there a tutorial using this package? or some examples ?

I followed he AccountActivated example but don't have the device tokens yet..

Initially just want to send an all users message.

Is there a way to do it?

dan-lutd avatar May 06 '22 00:05 dan-lutd

+1

devon2018 avatar Aug 04 '22 15:08 devon2018

If you want to send notification to all users, you can do something like this:

Notification::send($users, new AccountActivated());

mbanusic avatar Aug 04 '22 18:08 mbanusic