# react-native-idv-library

aliyun identity verification

## Installation


```sh
npm install react-native-idv-library
```


## Usage


```js
import IdvLibrary from 'react-native-idv-library';

// ...
IdvLibrary.install(); 

const metaInfo = await IdvLibrary.getMetaInfo();

// 验证身份
const result = await IdvLibrary.verify('xxx', {"SdkLanguage":"en"});
console.log('Verify result:', result);

```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
