react-native-google-sign-in
react-native-google-sign-in copied to clipboard
Refresh accessToken or tokenID
Hi,
Your plugin works well, thank you very much, however I want to refresh accessToken and tokenID when it expired, how can I do that?
Thanks
Hi!
I really recommend you to read at least the JavaScript parts of the code. It's pretty straightforward and gets you an overview of what the library is capable to do.
You can refresh the token by calling signInSilentlyPromise.
Is there any way to actually return the refreshToken?
It feels like it would return using iOS in GoogleSignIn.ios.js but not in Android. :(