The issue is that FCM
provides a token for each unique app for a device, so let's say two users use the same device and application, one signs out so that the other can sign in and use the app, i'm confused about how the flow should go! now the two users have the same token so both of them will receive the upcoming messages.
A similar question was asked here and here but it's still not clear for me!
Any help will be appreciated.