Skip to content

No callback from ReCaptcha  #72

Closed
Closed
@Przemyslaw-Wosko

Description

@Przemyslaw-Wosko

Hi,
Currently we are using this library for Google ReCaptcha in apps, for now in development state.
While this library was integrated for long time and just now ( like week ago ) we started to have issues with this library.
I thought that this was fault of our code / configuration, but after debugging i found that in some cases user is stuck on sign in / sign up because of no response from ReCaptcha library.

our "sign up" flow:

  • type credentials
  • get recaptcha token
  • send recaptcha token along with credentials to API

To Reproduce

  • try to use wrong password to be able to invoke captcha multiple times
  • repeat until you get following log from webview:

#CAPTCHA LOG:
"["log": did load]"
"["log": executing]"
"["log": resetting]"

  • then completion block will not be called

Bug description

Since there is no completion block, app will wait for ReCaptcha result infinitely

Expected behavior

Library always respond with callback ( either error / token / challange )

Logs

responses from webview ( ReCaptchaDecoder::handle )

 "[\"log\": did load]"
 "[\"log\": executing]"
 "[\"log\": resetting]"

Additional context

I noticed that this issue more often occurs on real devices rather than on simulators
device i used for debugging: iPhone 7 with iOS 12.1.4

I also tried to find documentation for ReCaptcha and the things you've implemented, but i couldn't find them. Could you share some links in response?
(this official link is not sufficient for me, there is no information about statuses)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions