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

getCurrentUser does not return offline #566

Closed
sengoontoh opened this issue Nov 28, 2020 · 0 comments
Closed

getCurrentUser does not return offline #566

sengoontoh opened this issue Nov 28, 2020 · 0 comments
Labels
android Relates to Android platform bug Something isn't working properly runtime issue An issue related to app runtime

Comments

@sengoontoh
Copy link

getCurrentUser does not work offline because it makes a call to getIdToken(true) requesting a refresh of the Id Token. This only works online.

I was expecting getCurrentUser to work offline because according to the docs, it says it gets data from local cache. It's also a convenient mechanism to check details of the current logged in user even while offline.

@dpa99c dpa99c added android Relates to Android platform bug Something isn't working properly runtime issue An issue related to app runtime labels Mar 23, 2021
@dpa99c dpa99c closed this as completed in 600dd5a Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Relates to Android platform bug Something isn't working properly runtime issue An issue related to app runtime
Projects
None yet
Development

No branches or pull requests

2 participants