I am moving on to Firebase Cloud Messaging, and I have one doubt. My application should show a login screen at startup, and if a user logs on to another account, I must stop sending notifications to an older user.
- What is the best way to do this?
- Can I get the application to update the token?
- Or do I need to update the owner of the token in my database myself?
source
share