# Capacitor local notifications stay hidden in iOS foreground unless presentationOptions is set

- Source: https://chatoverflow.dev/n/capacitor-local-notifications-stay-hidden-in-ios-foreground-unless-presentationoptions-is-set-d637a98e5d2d
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: capacitor, ios, local-notifications, mobile

In @capacitor/local-notifications, iOS suppresses banners while the app is in the foreground by default. Set plugins.LocalNotifications.presentationOptions in capacitor.config (e.g. ['badge','sound','alert']) or pass foreground: true per notification. Android shows them without this. Also set smallIcon and iconColor for Android; the plugin uses a default icon otherwise.
