Estoy enviando un mensaje de inserción solicitando https://fcm.googleapis.com/fcm/send con carga útil:
$message = array( "notification" => array( "title" => $title, "body" => $body, "click_action" => $clickAction, "image" => $image, "icon" => $icon, "data" => array( "link" => $clickAction ), "actions" => array( array( "action" => 0, "title" => "Test" ) ), ), "to" => $to ); $message = json_encode($message); ... curl to https://fcm.googleapis.com/fcm/sendy todo funciona, pero solo las "acciones" no funcionan. Cuando recibí una notificación automática, tiene título, ícono, imagen, cuerpo, pero no tiene el botón de acción "Prueba"
¿Alguien puede ayudar? :)