Android app crashes on firebase phone authentication

后端 未结 3 1845
长情又很酷
长情又很酷 2021-01-29 04:25

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

3条回答
  •  佛祖请我去吃肉
    2021-01-29 04:41

    In case you don't need a reference to an Activity then replace (Executor) this with the following code:

    new Executor() {
        @Override
        public void execute(Runnable command) {}
    }
    

提交回复
热议问题