Skip to content

Reset state #16

@yoobi

Description

@yoobi

Hello,

How can we reset the state of the widget ?

I'm using XML with private

val sdk = FriendlyCaptchaSDK(context, "global")
val widget = sdk.createWidget(key, "light")

When I do a network request and it returns error, the challenge-response is no longer valid and I need to reset the state of the captcha so user can verify again. I tried using widget.reset() but it's not doing anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions