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

Fix: Reset fcmToken var when deleteInstance method called. #165

Merged
merged 4 commits into from
Feb 2, 2025

Conversation

Vishal-Isharani
Copy link
Contributor

The fcmToken variable was not reset when the deleteInstance method was called. As a result, calling getToken after deleteInstance will still return the previous token, as the fcmToken variable remains unchanged during the instance deletion.

@Vishal-Isharani Vishal-Isharani changed the title Feat: Reset fcmToken var when deleteInstance method called. Fix: Reset fcmToken var when deleteInstance method called. Oct 11, 2024
@stewones
Copy link
Member

stewones commented Feb 2, 2025

good catch. thank you @Vishal-Isharani

@stewones stewones merged commit 46e8bf2 into capacitor-community:master Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants