Please provide the following:
- SDK Version: 45
- Platforms(Android/iOS/web/all): Web
- Add the appropriate “Tag” based on what Expo library you have a question on.
Hey,
I’m trying to do Firebase authentication via a Phone number. I’m using expo to compile down to a web app and I’m running into an issue trying to get FirebaseRecaptcha to work for the web. I noticed that the example shows that it only works on iOS and Android (or it at least seems to be that way).
Is there a way to get FirebaseRecaptcha to work with a web build?
window.recaptchaVerifier = new RecaptchaVerifier(
"recaptcha-container",
{},
getAuth()
);
This is the example that Firebase uses for the web, and I do have access to window in the web build, but I don’t have a the recaptcha-container
node it wants me to attach to.
Ideally I would just use the expo-firebase-recaptcha
but that was breaking