Skip to content
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

iOS fails to consume token result #16

Open
Invertisment opened this issue Sep 23, 2022 · 1 comment
Open

iOS fails to consume token result #16

Invertisment opened this issue Sep 23, 2022 · 1 comment

Comments

@Invertisment
Copy link

Invertisment commented Sep 23, 2022

Android works fine but when on iOS I get and error after I solve a captcha.
They point into this documentation: https://reactjs.org/docs/legacy-event-pooling.html

Screenshots:

Screenshot 2022-09-23 at 10 26 51

Screenshot 2022-09-23 at 10 27 21

@Invertisment
Copy link
Author

After I do this it doesn't crash:

  const onMessage = (event: CaptchaEvent) => {
    const eventAny = event as any
    if (eventAny.persist) {
      eventAny.persist()
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant