Hi, I’ve been trying to implement a simple firebase authentication system using phone number, but it is not working. I’ve followed all steps correctly, and I looked at all other related topics. But nothing seems to work. These are my blocks:
After I export and try to login with my phone number, it shows Login failed - phone number. But when I try after adding my number as a test number, it works, and the user is added in the firebase portal. Any idea how to solve this?
Yes, i have enabled phone number authentication… When I try after adding my phone number as a test number, it works. But trying for real, it shows error
What’s error ? Your firebase rule write and Read ?
Is .json file correct (sometimes when you download again it’s name as Google(1).json remove (1) in name ) ??? Check again
Yes, the json file is correct (otherwise I couldn’t have exported the apk). Rules are set to test mode (allow access to anyone). The error is from the login failed block : PhoneNumber (Service Provider). I had done this phone number auth back a while, don’t know why it is not working now.
I did it all again once more, and now it works… (weird). I am getting OTP now, and I can now successfully login in now, but I still get messages like login failed even if it is not.