Git Product home page Git Product logo

Comments (5)

pierroo avatar pierroo commented on September 6, 2024 1

Okay so you confirm your plugin is V2?
Thank you!

Surprising indeed that it both works from the front, AND from the backend when verifying the captcha score!
I will update here if I find anything.

EDIT: okay, even weirder: when using the new V2 public/secret key, I now keep getting error from the backend verification "invalid-keys".

Which makes me wonder if the config from the front is the same as V3 when dealing with mobile app.
It's not mentioned in your doc but, what are we supposed to put in "baseUrl" when it comes to mobile app?

For v3, it should be "com.package.name", and the trick was to add "https://com.package.name", although in the google console we put com.package.name as domain.

from react-native-recaptcha-that-works.

douglasjunior avatar douglasjunior commented on September 6, 2024 1

When I say that don't work as Android native API, I refer to reCaptcha Android native SDK.

This library was created to work with Android AND iOS, so we can't use the native SDK for this, because reCaptcha is not officially supported native on iOS.

The only way is to use an WebView as an workaround, and inside we implement reCaptcha with web API.

Please, read the library source code to understand how it works, and if you have any other relevant question about the library, I'm here to help.

from react-native-recaptcha-that-works.

douglasjunior avatar douglasjunior commented on September 6, 2024

Why is the whole process invisible as intended with V3, unlike V2 that asks for questions?

I dont know about reCAPTCHA v3 yet, I've never worked with it, if it works it's purely coincidental.

from react-native-recaptcha-that-works.

douglasjunior avatar douglasjunior commented on September 6, 2024

It's not mentioned in your doc but, what are we supposed to put in "baseUrl" when it comes to mobile app?

The domain that you put in the reCAPTCHA Admin Console.

image

For v3, it should be "com.package.name", and the trick was to add "https://com.package.name/", although in the google console we put com.package.name as domain.

Sorry, I dont know much about reCAPTCHA v3, but remember: this library was created to reCAPTCHA v2 web API, so its not suppose to work as Android native API.

You should configure the reCAPTCHA as you are using in a web page, and not in a mobile app.

from react-native-recaptcha-that-works.

pierroo avatar pierroo commented on September 6, 2024

This is confusing, why is it called react NATIVE recaptcha then?
I understand it's pure javascript, but still isn't it supposed to work on mobile devices since it's react native library?

from react-native-recaptcha-that-works.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.