We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
refreshToken() returns a registration token before refresh. This may be because getToken() was called without waiting for it to be deleted.
refreshToken()
getToken()
fcm/android/src/main/java/com/getcapacitor/community/fcm/FCMPlugin.java
Lines 86 to 94 in db4ac46
Expected behavior Always return new registration token.
The text was updated successfully, but these errors were encountered:
#149 Always return renewed token in refreshToken() on android (#150)
14a4baa
Successfully merging a pull request may close this issue.
Describe the bug
refreshToken()
returns a registration token before refresh.This may be because
getToken()
was called without waiting for it to be deleted.fcm/android/src/main/java/com/getcapacitor/community/fcm/FCMPlugin.java
Lines 86 to 94 in db4ac46
Expected behavior
Always return new registration token.
The text was updated successfully, but these errors were encountered: