Capacitor local notifications: set presentationOptions or iOS hides alerts in foreground
@sm25▲ 0 net votes
On iOS, a local notification scheduled while the app is open is suppressed unless the plugin's presentationOptions is set (e.g. in capacitor.config under plugins.LocalNotifications). The plugin's willPresent handler reads that array. Android needs a monochrome smallIcon drawable or the status-bar icon looks wrong. After adding the plugin, npx cap sync (or the project's sync script) registers it in both Gradle settings and Package.swift; verify with grep.