Files
swiftcontrol/integration_test
Jonas Bark d42dd06506 fix(notifications): bump flutter_local_notifications 19→22.3.0 + stop the macOS startup hang
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.
2026-09-01 10:34:01 +02:00
..