Icon 512 Maskable

Cordova Recaptcha Enterprise plugin demo

Demo app for testing the cordova-plugin-recaptcha-enterprise plugin, which implements the Google reCAPTCHA Enterprise API in Cordova android and browser platforms. Source code available in GitHub.

Apache Cordova logo phonegap

Android screenshots

Browser screenshots


This is a summary of the demo app’s methods. Refer to plugin’s README for details


To invoke the reCAPTCHA API, you call the verify() method. Usually, this method corresponds to the user’s selecting a UI element, such as a button, in your activity.

This method requires a success callback, a failure callback, and an object with these keys:

  • siteKeyAndroid: (String) A score-based Android key from the GCC for the Android platform.
  • siteKeyWeb: (String) A score-based Website key from the GCC for the browser platform.

For any type of reCAPTCHA key integration (checkbox or score), you must create an assessment from your backend by submitting the generated token to the assessment endpoint. reCAPTCHA processes the submitted token and reports the token’s validity and score.


  • Score-based keys do not display the I’m not a robot checkbox and never show CAPTCHA challenges
  • Score-based return a token which you must use to create an assessment that returns a risk score.
  • You cannot use Classic keys from the v3 Admin Console.
  • The website key (optional for browser platform) should be created with the localhost domain.
  • On certain devices, the first call to verify() could return Internal Error. Retrying the operation will return a token.

Download demo APK


Use the comments section here for demo app-related issues, and the GitHub issues tracker for plugin-related ones.

More plugin demo apps

Check out the following Cordova plugin demo apps ready for download on your device. The source code is included for compiling to any platform.


The content in this post is for general information purposes only. The information is provided by the author and/or external sources and while we endeavour to keep the information up to date and correct, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the post for any purpose. Some of the content and images used in this post may be copyrighted by their respective owners. The use of such materials is intended to be for educational and informational purposes only, and is not intended to infringe on the copyrights of any individuals or entities. If you believe that any content or images used here violate your copyright, please contact us and we will take appropriate measures to remove or attribute the material in question.