Skip to main content

Installation

flutter pub add trustchex_flutter_sdk

Or add to your pubspec.yaml:

dependencies:
trustchex_flutter_sdk: ^1.334.0

Then run:

flutter pub get

iOS Setup

Add to Info.plist:

<key>NSCameraUsageDescription</key>
<string>The app captures images of your ID, passport, and face, and records a video for
secure identity verification and ensure compliance with KYC regulations.</string>
<key>NSMicrophoneUsageDescription</key>
<string>The app records a video with audio for secure identity verification and ensure
compliance with KYC regulations.</string>
<key>NFCReaderUsageDescription</key>
<string>The app securely reads ID or passport data using NFC to verify your identity and
ensure compliance with KYC regulations.</string>
<key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
<array>
<string>A0000002471001</string>
</array>

Set minimum iOS version in ios/Podfile:

platform :ios, '15.6'

Android Setup

Add to AndroidManifest.xml:

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-feature android:name="android.hardware.camera" android:required="true" />
<uses-feature android:name="android.hardware.nfc" android:required="false" />

Update android/app/build.gradle:

android {
compileSdkVersion 36
defaultConfig {
minSdkVersion 31
targetSdkVersion 36
}
}