-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate method does not work #56
Comments
Hi @nbob, we need a bit more info to try and assess what may be going on here. The widget won't necessarily appear because it may be resolved "invisibly", therefore, have you checked if you're not receiving the token? If not, what is happening? Nothing? Does the app simply halt? You mentioned that commenting a line of code has the desired effect, but were you able to receive the token after that? Could you provide us some logs? Be careful and remove any sensitive data they may contain. |
Sorry for a long response I have a layout only with a single button and handle a Tap Up event with You may check my logs bellow
No, app still works, but it stops |
@nbob sorry for the looong delay to reply. It seems you're using the wrong If this still doesn't solve your issue, it might be the case where we need a better algorithm to detect if ReCaptcha has already finished loading. |
We are having the same issues here, baseURL is ok, but from time to time recapthca is unable to detect if it is loaded. Any ideas where we should start digging? |
I have 2 test devices, both of them running iOS 12.1. One is an iPhone XS and the second is a 7 Plus. It works perfectly on the XS, but on the 7Plus it doesn't. Even tried running the example project directly without any success on the 7Plus. Any ideas? |
Well, for me using new |
So, this is the reasoning behind that request logic: After configuring the webview, we need to wait for its resources to be loaded before calling What might be happening is that we're flagging a request as active and never flag it as finished and that causes
Reading @egv, @filip-a and @nbob, are any of you willing to try test this spike as a possible fix? I ask you help because I can't promise I'll be able to look into this in time to be relevant for your projects, so your help would be much appreciated. |
I think I will be able to do this in the next couple of days myself or assign it it to someone on my team |
Hello
I am using ReCaptcha v1.3.1 and my
validate
calling has no effect.Steps to reproduce:
didLoad
I create my ReCaptcha instance in Controllervalidate
methodAlso I noticed that if I comment this if statement it works properly. With this modification I see Recaptcha widget on the screen and also get a response token in success callback.
So debug tells me that
didFinishLoading
ofReCaptchaWebViewManager
instance equalsfalse
and it returns immediately from theexecute
method.Could you help me with this?
Thank a lot for lib.
The text was updated successfully, but these errors were encountered: