React-native-firebase: Firebase Phone Auth Captcha

Created on 5 Oct 2017  路  8Comments  路  Source: invertase/react-native-firebase

Am I correct in my understanding that the react-native-firebase implementation of Firebase phone auth has to use the web captcha? If so, I consider that an really bad user experience for a native app. Would implementing the native firebase auth library bypass this? Are there any plans to do so?
thanks
Jeremey

Most helpful comment

@bintoll it will only use captcha on iOS if you haven't set up the silent notifications as detailed here: https://firebase.google.com/docs/auth/ios/phone-auth#start-receiving-silent-notifications

All 8 comments

Hey, no it doesn't require captcha. Check out our docs that explain one of the methods:

https://rnfirebase.io/docs/v5.x.x/auth/phone-auth

Hello! I wrote like it is described in docs, but it requests capcha. So the issue should be reopened

@bintoll it will only use captcha on iOS if you haven't set up the silent notifications as detailed here: https://firebase.google.com/docs/auth/ios/phone-auth#start-receiving-silent-notifications

  • Hello, How can I remove reCaptcha for
      .auth()
      .verifyPhoneNumber('xxxxxxxxx)

on iOS

Found this on github. Looks like it works

https://github.com/thareekanvar/react-native-firebase-phone-auth

How will I use react-native-firebase in my expo project?
I am getting this error when I include react-native-firebase:

RNFirebase core module was not found natively on Android, ensure you have correctly added the RNFirebase and Firebase Gradle dependencies to your android/app/build.gradle file.

But when I only include "firebase" instead of "react-native-firebase" then it requires captcha which does not make any sense to me to include that in my project.

You don't, I think. Fifth question here. https://docs.expo.io/versions/latest/introduction/faq/

For anything expo-related, use Expo support channels

Was this page helpful?
0 / 5 - 0 ratings