Google.logInAsync refresh token

Using https://docs.expo.io/versions/latest/sdk/google/, how can I refresh the token? The accessToken works fine until it expires. I get the refreshToken in the response but there doesn’t seem to be an API to use it (at least not documented).

For others looking for a solution, it turns out that AppAuth works and has a good example for this: https://docs.expo.io/versions/v34.0.0/sdk/app-auth/. My understanding is that “Google” is just a wrapper around this so it’s strange that it doesn’t have the same capability.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.