Environment
- MarketingCloudSDK 8.0.9
- SFMCSDK 1.0.6
We implemented the MarketingCloudSDK and SFMCSDK with SPM according to the documentation.
Problem Description
We receive Push Notification and In App Messages but we do not get any Inbox messages.
On app startup we call SFMCSdk.mp.refreshMessages()
to trigger Inbox refresh. The function always returns false
and the NotificationCenter notification SFMCInboxMessagesRefreshCompleteNotification
is not sent. We implemented a NotificationCenter.default.addObserver
exactly like in the example app.
We also tried to call SFMCSdk.mp.getAllMessages()
but it returns nil
.
Testing
We send an Inbox message with a Push Notification. We receive the Push Notification, the app opens but the SFMCSdk.mp.refreshMessages()
always returns false
. Even when we close and restart the app SFMCSdk.mp.refreshMessages()
still returns false
.