This question was submitted in GitHub issues here - reposting with a hope to save time for others running into the same problem
Trying to change the push notifications package used by an old app to the latest React Native and Firebase messaging. I have set up a new app from scratch to isolate the issue - all new identifiers, bundle ids, certificates, etc. The only things installed in the new project are yarn add @react-native-firebase/app
and @react-native-firebase/messaging
On Android everything works. On iOS background and killed state messages are also working, but onMessage event is never fired when in Foreground😢
I followed all the latest guides on https://reactnative.dev/docs/environment-setup , https://rnfirebase.io/ , https://rnfirebase.io/messaging/usage and https://rnfirebase.io/messaging/usage/ios-setup.
I am sending the notifications with AWS SNS.