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

[🐛] messaging().getToken() returns old token for ANDROID device after executing messaging().deleteToken() #8030

Open
poojalivin opened this issue Sep 20, 2024 · 0 comments
Labels

Comments

@poojalivin
Copy link

In my react native app I'm executing

    await messaging().deleteToken();

to delete token and then on log in runs

    await messaging().getToken() 

But even after deleting the previous token I'm getting the same old token from getToken().
I have seen many issues reported for IOS and have implemented some suggestions mentions in their comments like using

  await messaging().deleteToken(undefined,'*');

But it didn't work.
I'm using
"@react-native-firebase/app": "^20.5.0",
"@react-native-firebase/messaging": "^20.5.0",

Thanks.

@poojalivin poojalivin changed the title [🐛] messaging().getToken() returns old token for ANDROID after executing messaging().deleteToken() [🐛] messaging().getToken() returns old token for ANDROID device after executing messaging().deleteToken() Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant