title: Firebase always returned "We have blocked all requests from this device due to unusual activity. Try again later."
body: <p>I'm trying to make Email verification on my react-native app. Signup works only on back-end part, so I just need to verify emails for signed up users. Here is my code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>firebase.auth().signInWithEmailAndPassword(email, password)
      .then((returnedUser) =&gt; {
        let user = firebase.auth().currentUser;
        console.log(user);
        user.sendEmailVerification()
          .then(function(response) {
            console.log('email', response);
  
          })
          .catch(function(error) {
            console.log('error', error)
          });
      })
      .catch(function(error) {
        var errorCode = error.code;
        var errorMessage = error.message;
        if (errorCode === 'auth/wrong-password') {
          alert('Wrong password.');
        } else {
          alert(errorMessage);
        }
      });</code></pre>
  </div>
  </div>
  </p>
  
  <p>I get an error "We have blocked all requests from this device due to unusual activity. Try again later." Seems like it's bad to have Firebase promise inside another one Promise, but I don't know how to resolve it without two Promises, anyone can help me?</p>