I have client-server app, and i develop Xamarin mobile client, i use FCM for PUSH notify, When I log in, I send my token to the server, where I tied it to account in my database, but what do i do when i log out in mobile app, the server may not be aware of this and will continue to send notifications, I have to update the token in the client, but this is not implemented, and not correctly, What can I do?
A similar problem is described here. Firebase Cloud Messaging Refresh Token