Skip to content

jpush/jverification-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jverification-react-native

极光官方开发的极光认证 react-native 插件,为开发者提供了快速验证用户输入的手机号码和本机 SIM 卡号码一致性的功能,提高用户体验和安全性。暂时只支持 iOS平台。

安装

npm install jverification-react-native --save
npm install jcore-react-native --save 
react-native link

配置

iOS

  • 打开工程,进入 Build Settings -> Framework search paths 添加 framework 搜索路径

    $(SRCROOT)/../node_modules/jverification-react-native/ios/RCTJVerificationModule
    
  • 打开工程,进入 Build Settings -> Other Link Flag 添加一行编译选项

    -framework "TYRZNoUISDK"
    -framework "account_verify_sdk_core"
    

Android

API

Usage:

import JVerification from 'jverification-react-native'

JVerification.init({
              appKey: '替换成极光官网注册的应用 appKey',
              channel: 'the optional channel'
            });

注意: 需要先调用 JVerification.init 方法其他功能才能正常使用。

接口说明参考: index.js

用法参考: demo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy