title: Not able to signup using firebase auth module
body: <p><strong>Our requirement</strong></p>
  
  <p>Signup using email/password with Firebase SDK on android</p>
  
  <p><strong>Problem</strong></p>
  
  <p>The onComplete() method is not getting called. No error / exception is thrown. 
  note: We have enabled the email/password provider on Firebase console</p>
  
  <p>Please find the code below -</p>
  
  <pre><code>public void onClick(View v) {
          try {
              if (v == saveView) {
                  String email = emailView.getText().toString();
                  String password = passwordView.getText().toString();
                  if (validate(email, password)) {
  
                      mAuth.createUserWithEmailAndPassword(email, password)
                              .addOnCompleteListener(this, new OnCompleteListener&lt;AuthResult&gt;() {
                                  @Override
                                  public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
                                      Log.d(TAG, "createUserWithEmail:onComplete:" + task.isSuccessful());
  
                                      // If sign in fails, display a message to the user. If sign in succeeds
                                      // the auth state listener will be notified and logic to handle the
                                      // signed in user can be handled in the listener.
                                      if (!task.isSuccessful()) {
                                          Toast.makeText(UserRegisterActivity.this, "Authentication failed.",
                                                  Toast.LENGTH_SHORT).show();
                                      }
                                  }
                              });
                  }
              }
          }catch (Exception e) {
              Log.d("BIG", e.getStackTrace().toString());
          }
      }
  
   private boolean validate(String email , String password){
          return true;
      }
  </code></pre>