Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hansemannn/titanium-recaptcha
Use the native Android reCAPTCHA API in Appcelerator Titanium with Hyperloop
https://github.com/hansemannn/titanium-recaptcha
android hyperloop recaptcha titanium
Last synced: 3 months ago
JSON representation
Use the native Android reCAPTCHA API in Appcelerator Titanium with Hyperloop
- Host: GitHub
- URL: https://github.com/hansemannn/titanium-recaptcha
- Owner: hansemannn
- License: mit
- Created: 2017-06-17T15:39:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T17:32:49.000Z (over 6 years ago)
- Last Synced: 2024-07-16T05:37:24.309Z (4 months ago)
- Topics: android, hyperloop, recaptcha, titanium
- Language: JavaScript
- Homepage:
- Size: 1.21 MB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reCAPTCHA in Appcelerator Titanium
Use the native Android [reCAPTCHA API](https://developer.android.com/training/safetynet/recaptcha.html) 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
```js
var reCAPTCHA = require('ti.recaptcha');// Initialize service
reCAPTCHA.initialize('');// 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](./Resources/app.js) for a full example.## Authors
- Hans Knöchel ([@hansemannnn](https://twitter.com/hansemannnn) / [Web](http://hans-knoechel.de))## License
MIT## Contributing
Code contributions are greatly appreciated, please submit a new [pull request](https://github.com/hansemannn/titanium-recaptcha/pull/new/master)!