Firebase Email Verification Not Working Properly : <p><strong>WHAT I HAVE</strong></p>

<p>I am using <strong>Firebase Authentication</strong> in my app where the users can register using <strong>Email &amp; Password</strong>. If the users have not verified their email, I disable some features until they verify their email.</p>

<p>I also have a button to explicitly trigger verification mail, which just calls, <code>sendEmailVerification()</code>. It works perfectly and verification mail is always sent.</p>

<p><strong>THE PROBLEM</strong> </p>

<p>The user gets the verification mails, but when he/she verifies it and comes back to the app, the <code>isEmailVerified()</code> is always false. So my app still doesn't allow the user to use all functions in spite of the fact that he/she has verified their email.</p>

<p>But if they log out and login again, the <code>isEmailVerified()</code> returns true immediately. But is it not good to log out the user and login back again.</p>

<p>Is it a bug in Firebase? Or am I doing something wrong? </p>
