Cannot disable push notification function by logout

I expect the user will disable push notification when the logout function is called, but it isn’t working on the iOS. Is it an issue or there is something I need to do for my requirement?

Intercom-ios SDK v6.0.1