Skip to content

Google reCaptcha

Non-Visible component
Category Requires Version
Google API 21, Android 5.0 Lollipop 1

Overview

A non-visible that prompts users to complete a ReCaptcha challenge. Use this component to protect apps from spam and abuse, and to verify that your users are humans.

Permissions

Events

Prompt Errored

Event will be invoked when Google reCaptcha prompt returns an error status code.

Params
error Code Number
error Message Text

Prompt Succeeded

Event will be invoked Google reCaptcha returns a success status code, returning the user response token which should be verified later.

Params
user Response Token Text

Validate Response

Event will be triggered after the Validate method gets a response. 'success' will return true when the prompt was completed successfully, 'challenge Timestamp' is the date the challenge was completed in ISO format, 'app Package Name' will return the package name of the app where the challenge was completed, and 'error Messages' is a list of all errors that occurred during the validation.

Params
success Boolean
challenge Timestamp Text
app Package Name Text
error Messages List

Methods

Prompt reCaptcha

Prompt the user with a Google reCaptcha challenge. Needs a reCaptcha API Site Key to work.

Validate

Validate the received userResponseToken with your API Secret Key, for increased security. It is recommended to use the 'Obfuscated Text' block with the API Secret Key.

Params
user Response Token Text
secret Key Text

Properties

Site Key

Text ➖ Read Write - Designer Blocks

Sets the Google reCaptcha API Site Key. It is mandatory to use reCaptcha, as it will identify user's request with the challenge prompt.


Last update: November 9, 2022