I
I
Ivan Driuk2020-08-26 19:49:42
React
Ivan Driuk, 2020-08-26 19:49:42

How to login with Google on the web version of the Expo application?

Please tell me, has anyone encountered this error: "The method or property expo-app-auth.authAsync is not available on web, are you sure you've linked all the native dependencies properly?"

import * as Google from "expo-google-app-auth"

const result = await Google.logInAsync({
    iosClientId: authIds.iosClientId,
    androidClientId: authIds.androidClientId,
    scopes: ["profile", "email"],
    clientId: authIds.webClientId,
  })

from such code in the browser?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question