mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
iOS suppresses an incoming push banner while the app is foregrounded unless the app opts in. _ensureForegroundDisplay now calls setForegroundNotificationPresentationOptions on iOS so the OS presents the push directly, avoiding a double notification / delegate clash with flutter_local_notifications. Android keeps the onMessage local-notification path, which it still requires. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>