https://github.com/akface/eros-plugin-ios-tencentcaptcha
腾讯防水墙、滑动验证、类似bilibili滑动验证码
https://github.com/akface/eros-plugin-ios-tencentcaptcha
captcha eros-plugin slider weex weex-eros weex-plugin
Last synced: 4 months ago
JSON representation
腾讯防水墙、滑动验证、类似bilibili滑动验证码
- Host: GitHub
- URL: https://github.com/akface/eros-plugin-ios-tencentcaptcha
- Owner: akFace
- License: mit
- Created: 2018-09-05T10:14:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T02:37:11.000Z (almost 7 years ago)
- Last Synced: 2025-04-16T04:58:24.186Z (6 months ago)
- Topics: captcha, eros-plugin, slider, weex, weex-eros, weex-plugin
- Language: Objective-C
- Homepage:
- Size: 886 KB
- Stars: 22
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eros-plugin-ios-TencentCaptcha
Eros 腾讯防水墙插件## 示例
## 集成
- 1、在iOS项目文件夹的`Podfile`中添加以下代码,然后执行 `pod update`
```
pod 'TencentCaptcha', :git => 'https://github.com/kang558/eros-plugin-ios-TencentCaptcha.git', :tag => '0.0.2'
```
- 2、需要在项目中导入腾讯SDK文件 [https://007.qq.com/ios-access.html?ADTAG=acces.cfg](https://007.qq.com/ios-access.html?ADTAG=acces.cfg),导入SDK方法自行百度或google## 使用方法
```
const tencentCaptcha = weex.requireModule('tencentCaptcha');
tencentCaptcha.showCaptcha('appid', (result) => {
if (result.ret === 0) {
// 验证成功
} else {
// 验证失败
}
});
```## 更新日志
0.0.2
* bugfix;