douglasjunior / react-native-recaptcha-that-works

⚛ A reCAPTCHA bridge for React Native that works (Android and iOS)
MIT License
167 stars 33 forks source link

Creating a site key for android and iOS #51

Closed joaombpereira-eng closed 8 months ago

joaombpereira-eng commented 8 months ago

To create a siteKey for iOS and Android, do we have to do it through here? https://cloud.google.com/recaptcha-enterprise/docs/create-key-mobile

douglasjunior commented 8 months ago

Is not key for Android and iOS, is the key for WEB.

joaombpereira-eng commented 8 months ago

So, we choose the Plataform Type: Website?

douglasjunior commented 8 months ago

So, we choose the Plataform Type: Website?

Yes!

siteKey | string | (Required) Your Web reCAPTCHA site key. (The Web key must be used, not for Android)

joaombpereira-eng commented 8 months ago

i'm using the web siteKey and Base Url and isn't working. Return me a error message "null"

Captura de ecrã 2024-03-20, às 11 05 56
douglasjunior commented 8 months ago

I notice that you set enterptise={false}, but the link of the documentation that you send before was from the reCAPTCHA Enterprise.

If you create the key for reCAPTCHA enterprise, then you need to use enterprise={true}

Beyond that, there is nothing else to configure.