Basically i setup an auth process via email and password with firebase. The user, however, has only access to the app with a verified email. Until the mail is verified, he sees a screen telling him to do so.
There is:
handle = Auth.auth().addStateDidChangeListener { auth, user in
// ...
}
which is:
"the recommended way to get the current user"
Sadly this listener does not react to any mail specific actions. This makes me wonder, do i have to constantly call user.refresh()
?
Also: after some research i found this, but could not find an iOS specific function ... if it even exists ?