I have implemented Firebase cloud messaging in my app for push notifications. Everything working fine. But notifications are getting even user logged out from app.
You can delete the token, but it's better to simply cancel the subscription. How to do that, depends on how you subscribed to the updates in the first place.
If you subscribed to a topic, you'll want unsubscribe when the user signs out.