Unfortunately, https://docs.expo.dev/versions/latest/sdk/google/ and https://docs.expo.dev/versions/latest/sdk/apple-authentication/ modules are not compatible with web environments. I'm not aware about the corresponding modules implementation, but I'd say they rely on native capabilities which are not available on browsers.

Since I wrote this story, Expo has deprecated expo-google-app-auth in behalf of https://docs.expo.dev/versions/latest/sdk/auth-session/, which happens to be compatible for web. If you want to get authentication working in both web and native versions of your app, I'd suggest you to have a look at the documentation and start implementing from there.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Carles Capellas
Carles Capellas

Written by Carles Capellas

Always up for sport, somewhat obsessive about order and, over all things, enthusiastic about coding

No responses yet

Write a response