Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.05 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.05 KB

Flutter scan tools

Flutter tool pack for scanning credit card, qr code, mrz.

Supported scanners

Scanner IOS Android
Credit card supported supported
QR-code will be soon will be soon
MRZ will be soon will be soon

Before usage

ios

info.list

<key>NSCameraUsageDescription</key>
<string>camera</string>

<key>io.flutter.embedded_views_preview</key>
<true/>
android
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-permission android:name="android.permission.CAMERA"/>
....
<application>
  <meta-data
    android:name="flutterEmbedding"
    android:value="2" />
</application>

Usage

void _startScan() async {
  await Permission.camera.request();

  final scanResul = await FlutterScanTools.scanCard(context);

  setState(() {
    this.scanResul = scanResul;
  });
}

Additional information

Tested on:
  • IPhone 13 Pro (IOS 15.5)
  • Redmi Note 8 (Android 9 PKQ1.190616.001)