Push Notifications FCM (Module notif/)
Firebase HTTP v1 • Android • iOS • Web Push • Asynchrone
MySQL Database
Connecté
Dossier debug_file/
OK
En attente (a_envoyer)
2
Envoyées (succès)
0
Échecs
0

📡 Endpoints REST du Module Notif

POST register_device.php

Enregistrement / refresh token FCM terminal.

POST create_notification.php

Mise en file d'attente push (immédiat ou différé).

GET list_notifications.php

Liste paginée et filtrée des notifications.

GET notification_status.php

Statut d'envoi individuel et par terminal (?id=X).

✉️ Programmer une Notification Push

📱 Enregistrer un Appareil / Token

📋 Historique Récent des Notifications Push

ID Application Titre & Message Cible Statut Succès / Total Date
#2 Boutique Mobile E-Commerce Votre commande est expédiée
Le colis #98765 est en route.
user
USER_101
a_envoyer 0 / 0 2026-09-14 21:39:45
#1 Boutique Mobile E-Commerce Flash Promo -20% !
Profitez de 20% de remise sur votre panier aujourd hui av...
all_users a_envoyer 0 / 0 2026-09-14 21:39:45

🪵 Journaux de Débogage (api/private/debug_file/)

Fichier sélectionné : api_requests.log app.log email_api.log email_routing.log email_security.log email_webhooks.log geo_failover.log geo_requests.log geo_resilience.log payment_auth.log payment_charges.log payment_escrow.log payment_failover.log payment_resilience.log payment_webhooks.log sms_security.log sms_webhooks.log worker.log
[2026-09-20 18:50:32] [INFO] Démarrage de la tâche worker d'envoi FCM (batchSize: 50) [2026-09-20 18:50:32] [ERROR] Erreur fatale dans le worker FCM : Impossible de se connecter à la base de données MySQL : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for pme-soft.com failed: H�te inconnu. {"trace":"#0 C:\\workspace\\notificationFCM\\api\\private\\Database.php(67): NotificationService\\Database::getConnection()\n#1 C:\\workspace\\notificationFCM\\api\\private\\NotificationService.php(291): NotificationService\\Database::fetchAll('SELECT id FROM ...', Array)\n#2 C:\\workspace\\notificationFCM\\api\\private\\cron\\send_worker.php(43): NotificationService\\NotificationService::dispatchPendingBatch(50)\n#3 {main}"} [2026-09-20 19:02:57] [INFO] Démarrage de la tâche worker d'envoi FCM (batchSize: 50) [2026-09-20 19:02:57] [ERROR] Erreur fatale dans le worker FCM : Impossible de se connecter à la base de données MySQL : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for pme-soft.com failed: H�te inconnu. {"trace":"#0 C:\\workspace\\notificationFCM\\api\\private\\Database.php(67): NotificationService\\Database::getConnection()\n#1 C:\\workspace\\notificationFCM\\api\\private\\NotificationService.php(291): NotificationService\\Database::fetchAll('SELECT id FROM ...', Array)\n#2 C:\\workspace\\notificationFCM\\api\\private\\cron\\send_worker.php(43): NotificationService\\NotificationService::dispatchPendingBatch(50)\n#3 {main}"}