pushForegroundDisplay property

bool pushForegroundDisplay
final

Display notifications while the app is in the foreground. FCM does not draw a notification when the app is open — on Android nothing shows unless the app renders it, and on iOS the banner is suppressed by default. With this true (default) the SDK shows it for you: a native banner on iOS and a local notification on Android, tap-attributed like a background open. Set false if you handle FirebaseMessaging.onMessage yourself.

Implementation

final bool pushForegroundDisplay;