Logout Firebase Auth

Advertisements
mTvLogout.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View view) {
        mAuth.signOut();
        startActivity(new Intent(MainActivity.this, SignInActivity.class));
        MainActivity.this.finish();
 
      }
    });