I'm using the MoEngage Inbox getInboxMessages API to fetch messages. Notifications are received to the device but not new messages while fetching the getInboxMessages API when the app is in the foreground unless the app goes to the background and returns to the foreground, API returns new messages.
Problem
I'm using the MoEngage Inbox
getInboxMessages
API to fetch messages. Notifications are received to the device but not new messages while fetching thegetInboxMessages
API when the app is in the foreground unless the app goes to the background and returns to the foreground, API returns new messages.I have implemented MoEngage with the help of the following official documents: Push Notification MoEngageInbox
Environment
MoEngage-iOS-SDK (9.14.0) MoEngageInbox (2.13.0) MoEngageInApp (4.13.0) MoEngageRichNotification (7.13.0)
https://github.com/moengage/MoEngage-iOS-Inbox/assets/101635478/7024ea49-72ba-4baa-a8b8-46c6df6694bf