Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset token #864

Closed
silentlight opened this issue Sep 12, 2018 · 3 comments · Fixed by #1425
Closed

Reset token #864

silentlight opened this issue Sep 12, 2018 · 3 comments · Fixed by #1425
Labels

Comments

@silentlight
Copy link

Is it possible to force reseting the token on every logout so that when a new user logs in to the app she receives a new token?

@peacechen
Copy link

peacechen commented Oct 31, 2018

Agreed. This is required for apps that support different logins (one at a time, of course).

For FCM, the library should call deleteInstanceId:
https://stackoverflow.com/questions/43193215/firebase-cloud-messaging-handling-logout

An additional JS method would need to be added to expose that to the app. I'm not sure how APN does it for iOS.

@GabeConsalter
Copy link
Contributor

Thank you @peacechen for the first step showing the deleteInstanceId() method.

@github-actions
Copy link

github-actions bot commented May 9, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label May 9, 2021
@github-actions github-actions bot closed this as completed Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants