Skip to content

Recaptcha Error 100 after several hours of inactivity #43

@Vitaliy-Sh

Description

@Vitaliy-Sh

Describe the bug

After a few hours the SDK starts sending error "The operation couldn’t be completed" (com.google.recaptcha error 100) when requesting a Recaptcha Token.
It doesn't matter if we use a new Recaptcha Client or the same one.
Nothing helps, only restarting the application.

Integration Method

  • SPM (iOS)
  • Cocoapods (iOS)
  • Direct Download (iOS)
  • GMaven (Android)

SDK Version (e.g. 18.0.1):
18.1.2

To Reproduce

Steps to reproduce the behavior:

  1. Initialise the client
  2. Request a token (successful)
  3. Minimize the application for a few hours
  4. Open the application after that
  5. Request token
  6. Receive error
  7. (Can repeat step 5 many times - the same result)

Creating a new Recaptcha Client doesn't help. The same error occurs.

Expected behavior

SDK should produce a Recaptcha token.

Xcode version for iOS (please complete the following information):

  • XCode 14.2

Device (please complete the following information):

  • Model: iPhone 13 Pro Max
  • OS: iOS 16.1.2, 16.4.1
  • Real Device

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions