kawankoding/laravel-fcm

Need an example

iamkatta opened this issue · 3 comments

Hello,

Could you please help us in using this package, I did not get what recipient is.

fcm()
->to($recipients) // $recipients must an array
->data([
'title' => 'Test FCM',
'body' => 'This is a test of FCM',
])
->send();

Thanks

mai92 commented

Hello @iamkatta $recipients is FCM IDs from your mobile dev get from Firebase :)

thanks for reply guys