When using firebase authentication for otp login, the app closes by itself

I tried to use firebase authentication, to login via otp SMS, but when I put the number and press the continue button, the application just closes by itself, I already put the google-json file everything But it doesn’t work, I followed the steps in the Guide “how to use firebase in appzard” how to solve this error? I’ve seen it in other posts and it always said to put the json file and remove the initialize firabasecore Is it necessary to use firebase core?? I’ve tried without and with and nothing worked. The blocks I believe are correct