Skip to content

Use the native Android reCAPTCHA API in Appcelerator Titanium with Hyperloop

License

Notifications You must be signed in to change notification settings

hansemannn/titanium-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reCAPTCHA in Appcelerator Titanium

Use the native Android reCAPTCHA API in Appcelerator Titanium with Hyperloop.

⚠️ This module is still in development and cannot be used, yet! Feel free to check-out the remaining "TODO" comments to address those.

Example

var reCAPTCHA = require('ti.recaptcha');

// Initialize service
reCAPTCHA.initialize('<YOUR_SITE_KEY>');

// Verify current activity
reCAPTCHA.verify(function(e) {
    if (e.success === false) {
        Ti.API.error('Error verifying current window: ' + e.error);
        return;
    }

    alert('YEY!');
});

Please check Resources/app.js for a full example.

Authors

License

MIT

Contributing

Code contributions are greatly appreciated, please submit a new pull request!

About

Use the native Android reCAPTCHA API in Appcelerator Titanium with Hyperloop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published