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

getToken is forcing token refresh #21

Closed
gabrielmoreira opened this issue Mar 25, 2017 · 4 comments
Closed

getToken is forcing token refresh #21

gabrielmoreira opened this issue Mar 25, 2017 · 4 comments

Comments

@gabrielmoreira
Copy link

By default, firebase currentUser.getToken() does not refresh the token until it has expired. However, the react-native-firebase project is always forcing a new token.

https://firebase.google.com/docs/reference/js/firebase.User?hl=pt-br#getToken

@Ehesp
Copy link
Member

Ehesp commented Mar 25, 2017

Hey, thanks for reporting. Which platform(s) have you seen this on? We'll debug when we can however knowing if it only happens on a specific platform will help :)

@gabrielmoreira
Copy link
Author

gabrielmoreira commented Mar 25, 2017 via email

@Salakar
Copy link
Member

Salakar commented Mar 25, 2017

@gabrielmoreira ah ye, well spotted, not sure how that got there, will change

@Salakar
Copy link
Member

Salakar commented Mar 25, 2017

Also looks like ios ignores the option completely, I'll sort both - thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants