4.2.0 • Published 3 years ago
react-native-onfido v4.2.0
React Native Nation Onfido
This package is a wrapper for the Onfido Library. https://onfido.com/
Table of contents
How to install
yarn add react-native-onfido
.
API Methods
startSDK
To start the onfido KYC proccess use startSDK
Onfido.startSDK(token, applicantId, country, onSuccess, OnError);
Example
Example
React native example
import Onfido from 'react-native-onfido';
Onfido.startSDK(
token,
applicantId,
country,
() => {
console.log("Verification complete");
},
(errorCause) => {
if (errorCause == "USER_LEFT_ACTIVITY") {
console.log("Flow cancelled")
} else {
console.log("Flow not finished")
};
},
// Optional iOS primary color
primaryColor);
Community profile
Please read through our CODE_OF_CONDUCT.md.
Contributing
Please read through our CONTRIBUTING.md.
Contributors
React Native Nation
React Native Nation is the best spanish website for react native documentation. react-native-nation.
4.2.0
3 years ago
4.1.0
3 years ago
3.0.0
3 years ago
4.0.0
3 years ago
3.1.0
3 years ago
2.4.0
3 years ago
2.3.0
3 years ago
2.2.0
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.9.0
3 years ago
1.8.3
3 years ago
1.8.1
3 years ago
1.8.0
4 years ago
1.7.1
4 years ago
1.7.0
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
1.2.0
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago