Skip to content
forked from SiriDx/qrcode

A flutter plugin for scanning QR codes. Use AVCaptureSession in iOS and zxing in Android.

License

Notifications You must be signed in to change notification settings

ryans233/qrcode

 
 

Repository files navigation

qrcode

A flutter plugin for scanning QR codes. Use AVCaptureSession in iOS and zxing in Android.

Added some permission related APIs to SiriDx's qrcode library.

Usage

Example

Use this package as a library

Add dependency

Add this to your package's pubspec.yaml file:

dependencies:
  qrcode: ^1.0.4

Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Import it

Now in your Dart code, you can use:

import 'package:qrcode/qrcode.dart';

Integration

iOS

To use on iOS, you must add the following to your Info.plist

<key>NSCameraUsageDescription</key>
<string>Camera permission is required for qrcode scanning.</string>
<key>io.flutter.embedded_views_preview</key>
<true/>

About

A flutter plugin for scanning QR codes. Use AVCaptureSession in iOS and zxing in Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 52.0%
  • Objective-C 33.5%
  • Ruby 12.3%
  • Shell 2.2%