fjcaetano / ReCaptcha

[In]visible ReCaptcha v2 for iOS
http://blog.flaviocaetano.com/post/recaptcha-reaches-1-dot-0/
MIT License
267 stars 133 forks source link

Error Value of type 'ReCaptcha' has no member 'forceVisibleChallenge' #88

Closed PiPyL closed 4 years ago

PiPyL commented 4 years ago

Hello. I meet a issue. It happen when I archive app. It will show error Value of type 'ReCaptcha' has no member 'forceVisibleChallenge'. While I build run test on simulator or real iphone is OK.

fjcaetano commented 4 years ago

The forceVisibleChallenge is only available in DEBUG builds. You shouldn't be using it in a production application because it defeats the purpose of the Recaptcha being invisible

PiPyL commented 4 years ago

So when I release my app, the recaptcha will automatically show images to the user to verify, I don't need to set anything to make it show images?

fjcaetano commented 4 years ago

I'm not sure what you meant. You do need to configure the library properly in order for it to work.

The forceVisibleChallenge is only meant to be used in development, not in production.