I noticed when I sign out there's a message that pops up and says "Client does not have permission to perform this operation" I thought the firebase rules that I set were the problem but it's not because the rules I have is required for my project.
How can I remove this message? Here is my code:
logoutbutton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
FirebaseAuth fauth=FirebaseAuth.getInstance();
fauth.signOut();
Intent intent2 = new Intent(getContext(), MainActivity.class);
startActivity(intent2);
}
});
I tried changing the rules on firebase database and that did not help.