Search code examples
javascriptfirebasefirebase-authenticationrecaptcha

Authentication with phone number on firebase error : 'Unable to load external reCAPTCHA dependencies!'


I implemented the authentication with phone number for my mobile application with firebase.

(Link of the tutorial)

It works pretty well on a desktop (even tho it is asking me for the capcha even if I'm using the invisible version), but on mobile phone, I have the following error : {"code":"auth/internal-error","message":"Unable to load external reCAPTCHA dependencies!"}

Any Idea where that problem come from and if anyone knows how to implement the sms authentication please ?


Solution

  • I am using firebase phone auth in flutter application and was facing same issue.

    I was able to solve by enabling Android Device Verification api in GCP.

    Select your project and enable Android Device Verification. GCP API link