i'am sending push message by requesting https://fcm.googleapis.com/fcm/send with payload:
$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/send
and it all works, but only "actions" do not work. When i got push notification, it has title, icon, image, body, but has no action button "Test"
Can anyone help? :)