Google sign out
complete
Guillermo Grau Panea
While it's possible to use Google sign-in, there's no way to sign out easily using the Google component (see https://forums.expo.io/t/google-sign-out/10845). Someone suggested using a Google API for this in a related forum topic, but it doesn't seem straightforward (several people failed trying this).
In our application, people may log in using a Google account, but may want to log out and in again using a different account. Right now, the only way is to delete and reinstall the application (!!).
Brent Vatne
complete
https://docs.expo.io/versions/v33.0.0/sdk/google/#logoutasync
Guillermo Grau Panea
Brent Vatne: Thanks a lot, this is awesome!
Guillermo Grau Panea
Brent Vatne Not to put any pressure (of course not!), but is there an ETA for this? We need to know whether we can migrate to Expo or not for the next release of our product.
Evan Bacon
Guillermo Grau Panea: You can only use native auth on iOS, we will add a method to log out. But with the web approach you simply need to invalidate the access token with a fetch request. Google's web auth is very similar to the native auth, this shouldn't be a show-stopper.
Guillermo Grau Panea
Evan Bacon: Any hint on an ETA? Thanks in any case!
Guillermo Grau Panea
Has this been included in Expo 30?
Evert Smit
Guillermo Grau Panea: I've gone through the expo repo and can't find any signs that this has been added in sdk30...
Guillermo Grau Panea
Evert Smit: We'll keep waiting then. It's really a show-stopper for our project — we really want to migrate to Expo!
Brent Vatne
in progress
should be ready for sdk30, sorry for the delay
Stefanus Thobi Sinaga
Would love to have this.
As Guillermo Grau Panea said, when using
behavior: "system"
I wont be able to log in using different Google Account had I previously log in once (I need to remove application data from phone Settings so I can get the Choose User
prompt again).