On iOS, I have the library working fine for the most part. But when I sign in, if I restart the app (kill and reopen), the signInSilently request fails with this error:
RNGoogleSignInError: The user has never signed in before with the given scopes, or they have since signed out., Error Domain=com.google.GIDSignIn Code=-4
The above does not happen if I reload the app via the developer menu (cmd+R).
In the Console app, I see the following logs after successfully calling signIn:
Description
On iOS, I have the library working fine for the most part. But when I sign in, if I restart the app (kill and reopen), the
signInSilently
request fails with this error:The above does not happen if I reload the app via the developer menu (
cmd+R
).In the Console app, I see the following logs after successfully calling
signIn
:I am able to reproduce this issue in the simulator, real device, debug scheme, release scheme, etc. any configuration.
Code Sample
First I call
configure
Then I call
signIn
and get my tokensThen on app restart, I call
signInSilently
Steps to Reproduce
signIn
methodsignInSilently
methodExpected Behavior
signInSilently
should return the userActual Behavior
signInSilently
throws the aforementioned errorEnvironment