signinwithphonenumber身份验证失败

问题描述 投票:1回答:1

我正进入(状态

SigninwithPhoneNumber失败:预期2个参数但得到1

在这段代码中

firebase
  .auth()
  .signInWithPhoneNumber(phoneNumber)
  .then(confirmResult =>
    this.setState({ confirmResult, message: "Code has been sent!" })
  )
  .catch(error =>
    this.setState({
      message: `Sign In With Phone Number Error: ${error.message}`
    })
  );
};
javascript android firebase react-native firebase-authentication
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.