<?php
require 'c:/xampp/htdocs/dizzartshopping/shopnest/admin/includes/fcm_helper.php';

$device_token = "c0sKzFgpS0mO24GWdDK_3j:APA91bEKA71ZuyfrTSFMY5OW3rYXb3v3MT3ILQPHGM8gusuvBjrCAt3GLGmgVvYZgoIur0hu8ZkAgRTka2ktT4LbQQLycusb6t1dk2HNZE-4GYQVTt-bfwA"; // User's known good token
$title = "Image Test Notification";
$body = "Behold the beautiful picture! 📸";
$image_url = "https://images.unsplash.com/photo-1558769132-cb1aea458c5e?q=80&w=800&auto=format&fit=crop";

echo "Sending notification with image...\n";
$success = sendFCMv1Notification($device_token, $title, $body, $image_url);

if ($success) {
    echo "SUCCESS: Image notification dispatched.\n";
} else {
    echo "FAILED: Check logs.\n";
}
?>
