Setup SDK
Add flutter_accurascan_kyc: under dependencies in your pubspec.yaml file. Usage Import flutter library into file. import 'package:flutter_accurascan_kyc/flutter_accurascan_kyc.dart';
Setup Android
Add this permissions into Android’s AndroidManifest.xml file.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />Add it in your root build.gradle at the end of repositories.
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_ssguccab6c5ge2l4jitaj92ek2' }
}
}
}Add it in your app/build.gradle file.
Setup iOS
1.Install Git LFS using command install git-lfs
2.Run pod install
Add this permissions into iOS Info.plist file.
Last updated