Add Push Notification

This commit is contained in:
2026-04-22 01:43:09 +02:00
parent 541e6f1ce3
commit 324b066f51
5 changed files with 216 additions and 9 deletions
+11
View File
@@ -0,0 +1,11 @@
import sqlite3
import json
from app import broadcast_push_notification, init_db
# Proviamo a inviare una notifica a tutti gli iscritti nel DB
print("🚀 Starting notification test...")
broadcast_push_notification(
"⚠️ ALLERTA FLOTTA",
"Test Push Notification: System Online!"
)
print("✅ Command sent.")