We used MarketingCloudSDK for our Flutter app, and we created a plugin supporting the push notification and in-app messaging. sfmc_plugin
After user logs in, we set the userId as the contactKey value, and then the user will be able to receiving the push notification and in-app message. However, when user logs out, we found the user will still receive the push notifications and in-app messages.
We tried to find a solution on the documentation but failed.
So, please suggest that where we can find the solution or how we can disable the push notification and in-app message after user logs out for that specific device?
SDK Specifications:
iOS: v7.6
Android: v8.0