onAuthStateChanged doesn't get called when email is verified in flutter

后端 未结 4 1083
心在旅途
心在旅途 2021-01-15 13:29

When a user signs up in my app he gets a verification e-mail. The onAuthStateChanged-listener gets called when a user gets created using createUserWithEma

4条回答
  •  情话喂你
    2021-01-15 14:04

    You can simply do a firebase.auth().signOut after sending the email verification link. And when the user clicks on sign in again, it'll automatically fire onAuthStateChanged.

提交回复
热议问题