mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-28 16:58:41 +01:00
The macOS "won't start" freeze was flutterLocalNotificationsPlugin.initialize() hanging in NotificationRequirement.setup() — confirmed by an affected user's log (Startup step "notifications" timed out after 6s) on the x86_64/Rosetta slice. - Make notification setup fire-and-forget in settings.init() so startup never waits on it (it's non-essential; the guard still logs if it stalls). - Drop onDidReceiveBackgroundNotificationResponse on macOS — macOS has no background-isolate support for it and registering it is the prime suspect for the hang. - Bump flutter_local_notifications ^19.5.0 → ^22.3.0 and migrate for the v20 named-parameter change: initialize(settings:), show(id:/title:/body:/ notificationDetails:), startForegroundService(id:/title:/body:) across android/connection/base_device/proxy/unlock, plus the two test fakes' show()/cancel() overrides. Flutter 3.47 compileSdk=36 satisfies fln 22's floor. Verified: flutter analyze clean, macOS debug build, integration + notification tests pass. Android foreground-service / action-button behaviour needs on-device or CI verification.