You must update the user object after validation as follows:
usertask = mAuth.getCurrentUser().reload(); usertask.addOnSuccessListener(new OnSuccessListener() { @override public void onSuccess(Void aVoid) { user = mAuth.getCurrentUser(); boolean useremailveri = user.isEmailVerified(); String useremailuid = user.getUid(); } });
source share