I am using firebase for phone number authentication.When I used my phone number, it automatically verifies it.But when I use another phone number I get classCastExceptio
I don't know what you're trying to do with this line:
.addOnCompleteListener((Executor) this, new OnCompleteListener() {
Casting this to Executor doesn't seem to make sense. What you want instead of this is a reference to the current Activity. Try getActivity() instead to get this reference.