myid_reader

MyIdReader SDK plugin for Flutter. Package supports iOS and Android to verify document identity.

Table of contents

Android SDK: 1.0.2

iOS SDK: 1.0.1

Project adjustments

iOS

Update your iOS configuration files

Change ios/Podfile to use version 13:

platform :ios, '13.0'

Add descriptions for camera permission to ios/YourProjectName/Info.plist:

<plist version="1.0">
<dict>
  <!-- Add these two elements: -->
    <key>NSCameraUsageDescription</key>
    <string>Required for document and facial capture</string>
  <!-- ... -->
</dict>
</plist>

Usage

 var result = await MyIdReaderClient.start(
    config: MyIdReaderConfig(
        locale: MyIdReaderLocale.english
    ),
);

Parameters details:

Method Notes Default
documentType To set a specific document type MyIdReaderDocumentType.manual
locale To set a specific locale MyIdReaderLocale.uzbek

SDK error codes

The error code in the following list may appear during the call of SDK. The list below is for your reference.

Code Error message
101 Unexpected error
102 Camera access denied

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.