Closed iamkatta closed 5 years ago
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
Hello @iamkatta $recipients is FCM IDs from your mobile dev get from Firebase :)
https://stackoverflow.com/questions/42930394/how-to-get-registration-ids-from-firebase-fcm/42933101#42933101 :)
thanks for reply guys
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