Skip to content

Latest commit

 

History

History
executable file
·
32 lines (24 loc) · 865 Bytes

README.md

File metadata and controls

executable file
·
32 lines (24 loc) · 865 Bytes

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'

使用方法

const tencentCaptcha = weex.requireModule('tencentCaptcha');
  
tencentCaptcha.showCaptcha('appid', (result) => {
  if (result.ret === 0) {
     // 验证成功
  } else {
      // 验证失败
  }
});

更新日志

0.0.2

  • bugfix;