Failed to receive FCM notification!

My IOS set up is fine as I can receive notification both on the foreground and the background. I believe this is because I’m using APN. However, when it comes to Android, it is not working. I have verified that the FCM works (by sending test message from Firebase Console).

When a message is sent and notification ensues, FirebaseMessaging onMessage listener is not triggered even though the app is in the foreground. When the app is in the background FirebaseMessaging onBackgroundMessage is triggered (however no notification).

I have set “Send to devices both offline and online” to be true, and configured the FCM settings in SendBird Console.

[SDK Version]
sendbird_chat_sdk: ^4.2.20

[Current impact]
Severely impacted the Android device UX