Update: 2026-07-31 03:58:40

This commit is contained in:
Hamza-Ayed
2026-07-31 03:58:40 +03:00
parent 8d67530b44
commit 7362f1ce96
+3 -1
View File
@@ -110,7 +110,8 @@ Future<void> backgroundMessageHandler(RemoteMessage message) async {
}
// عرض الإشعار المحلي عبر الكلاس المخصص
await NotificationController.showBackgroundNotification(title, body, 'ding');
await NotificationController.showBackgroundNotification(
title, body, 'ding');
}
} catch (e) {
Log.print("Background local notification failed: $e");
@@ -118,6 +119,7 @@ Future<void> backgroundMessageHandler(RemoteMessage message) async {
}
}
//
void main() {
// Use runZonedGuarded to catch all unhandled exceptions in the app.
runZonedGuarded<Future<void>>(() async {