Has anyone got the “new” google provider in expo-auth-session to work in a standalone apk? I just get a result type of “dismiss”. It’s like something is dismissing the browser.
For your question 3 I would add “and expo client for development testing in the simulator”.
I must say using authentication in expo has not been a friendly experience at all. From shifting APIs, to things that simply do not work as advertised it has consumed probably a total of 18 hours of my valuable time and I still don’t have a solution that actually works in all scenarios (android / iOS / simulator). I could have written my own by now.
Di you solve it it? After many attemps I got the same error. The authentication seems to end well, but the app gets a “dismiss” only when compiled in a standalone app.
Nah man i wish. I have spent a ridiculous amount of time trying to get it to work. I’m going to have to go back to using the older google sign in for standalone I think. I don’t know how @evanbacon got it to work.
I ended up using import * as GoogleSignIn from 'expo-google-sign-in'; which seems to be working just fine in my case. I did not manage to get the expo-auth-session to work whatever I did.
I will give it another try these days with Expo SDK 40.
Cool man ya I ended up using expo Google app auth https://docs.expo.io/versions/latest/sdk/google/
for native and then since I need to support web too I use the auth session library on the web.
As I said before my hope was to use auth session across the board but it’s not working and not worth wasting any more precious time on! I didn’t see anything in the 40 release notes that would suggest it’s been fixed but let us know if you do get it working