I am developing a client App using marketingcloudsdk-6.3.4 for implementing Inbox Messages on both iOS and Android. I am facing some issue on switching the account
Login as user A
Set unique contact key for A
Send messages to that contact key
Check for Inbox Messages
Logout user A and switch to user B
Set a unique contact key for B
Again Check Inbox Messages
Here for both user getting the same Inbox Messages.
My question is, how should we deal with this situation, to prevent from seeing the previous inbox messages if the contact key has been changed?