Im trying to use the library to send notifications to two different apps, i use the ->setApiKey() command but fcm responds with a :
Client error: POST https://fcm.googleapis.com/fcm/send resulted in a 401 INVALID_KEY
`
$push = new PushNotification('fcm');
$feedback = $push->setMessage([
'notification' => [
'title' => "Alerta de sincronización",
'body' => "Se han registrado nuevas asistencias en el sistema.",
'sound' => 'default'
]])
->setApiKey(env("FCM_SECOND_KEY"))
->setDevicesToken($clients_token)
->send()
->getFeedback();`
Im trying to use the library to send notifications to two different apps, i use the ->setApiKey() command but fcm responds with a : Client error: POST https://fcm.googleapis.com/fcm/send resulted in a 401 INVALID_KEY
` $push = new PushNotification('fcm');