0

为了处理 google 登录,我使用了 @react-native-google-signin/google-signin 包,它工作正常,直到请求失败,状态码为 400。 在此处输入图像描述

对于请求,我使用以下代码。

const googleSignIn = async () => {
  try {
    await GoogleSignin.hasPlayServices();
    const userInfo = await GoogleSignin.signIn();
    console.log(userInfo);
  } catch (error) {
    console.log(error);
  }
};

任何帮助将不胜感激!

4

0 回答 0