v2.55.2 — Manueller Sync: Status-Popup, Hintergrund-Weiterlauf, Sperrbildschirm-Notification
- cloud_screen.dart: Sync-Popup mit Live-Fortschritt („12/325 synchronisiert"), „Im Hintergrund fortsetzen"-Button, Ergebnis-Snackbar nach Abschluss - sync_service.dart: Notification-Kanal auf HIGH + Visibility.public, Foreground-Service starten/stoppen während Sync (Display-aus-Garantie), statische syncNotificationDetails() für Tests - main.dart: Sync-Channel-Importance auf HIGH (überschreibt alte low-Einstellung) - Tests: +7 (syncNotificationDetails HIGH/public, Lifecycle-Unabhängigkeit)
This commit is contained in:
+4
-1
@@ -60,11 +60,14 @@ void main() async {
|
||||
?.createNotificationChannel(downloadChannel);
|
||||
|
||||
// Notification-Channel für den Cloud-Sync (Fortschritt + Abschluss)
|
||||
// v2.55.2: Importance HIGH + Visibility public für Sperrbildschirm + Shadow.
|
||||
// createNotificationChannel überschreibt bestehende Channel-Settings —
|
||||
// ein alter Kanal mit low-Importance wird beim nächsten App-Start korrigiert.
|
||||
const syncChannel = AndroidNotificationChannel(
|
||||
'de.baka.melo.sync',
|
||||
'Melo Sync',
|
||||
description: 'Cloud-Sync-Fortschritt und Abschluss',
|
||||
importance: Importance.low,
|
||||
importance: Importance.high,
|
||||
playSound: false,
|
||||
enableVibration: false,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user