I am using firebase_messaging for firebase push notifications. I received push notifications when app in background or app is forcefully closed but not received when app in foreground.
And Second issue is push notification show without app icon. Its shows blank square icon.
firebase doesn’t show push notifications when the app in foreground, So we need to configure the local notification for Firebase
Check this package