SDK Setup
Install the Accura Scan package:
yarn add 'accurascan_kyc'
npm i accurascan_kyc
Usage
Import npm library into file.
import AccurascanKyc from 'accurascan_kyc';
Setup Android
Add it in your root build.gradle at the end of repositories.
buildscript {
...
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io/' }
maven { url 'https://developer.huawei.com/repo/' } // Add Huawei Maven
maven {
url 'https://jitpack.io'
credentials { username 'jp_45kf9tvkijvd9c7cf34mehj1b6' }
}
}
}Add it in your app/build.gradle file.
Setup iOS
1.Install Git LFS using command install brew install git-lfs OR port install git-lfs
Verify that the installation was successful:
2.Add the following in your podfile use_frameworks! below prepare_react_native_project!
and comment this line :flipper_configuration => flipper_config
take reference from here
3.Run pod install
Add this permissions into iOS Info.plist file.
Setup Accura Scan licenses into your projects
Accura Scan has two license require for use full functionality of this library. To generate your Accura Scan license contact [email protected] .
key.license
This license is compulsory for this library to work. it will get all setup of accura SDK.
For Android
For iOS
Last updated