79084297

Date: 2024-10-13 22:35:20
Score: 1
Natty:
Report link

getAdditionalUserInfo() is a function to be called with the result UserCredentials object.

firebase.auth().signInWithPopup(provider).then(async function (result) {
  const additionalUserInfos = await getAdditionalUserInfo(result);

  console.log(additionalUserInfos.isNewUser)
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: user3550312