skip to Main Content

Firebase OTP Authentication error in reCaptcha

import React, { useState, useRef } from "react"; import firebase from "../firebase"; const Auth = () => { const [phoneNumber,setPhoneNumber] = useState(''); const [verificationID, setVerificationID] = useState(''); const recaptchaRef = useRef(null); const handleSendOtp = ()=>{ if(recaptchaRef.current){ recaptchaRef.current.innerHTML = `<div id="recaptcha-container"></div>`…

VIEW QUESTION

React native – Firebase phone auth not working in real Android device debugging

I'm trying to use Firebase phone authentication for my Android application developed using react-native. I have followed the below docs and completed the setup. https://rnfirebase.io/auth/phone-auth https://firebase.google.com/docs/auth/android/phone-auth#enable-phone-number-sign-in-for-your-firebase-project Sign in works for me with the test number and code specified below. But…

VIEW QUESTION
Back To Top
Search