Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The Flutter plugin for iOS and Android to decoding QR codes.

License

Notifications You must be signed in to change notification settings

ridefox/flutter_qr_code_scanner

 
 

Repository files navigation

Custom QR Code Tools fork

Fork of the Flutter dependency qr_code_tools for the FOX Live Valve/Transfer Neo mobile application.

This fork was created to address an issue with version 0.1.0 of the qr_code_tools package.

The change implemented into this branch was adding a namespace value of com.aifeii.qrcode.tools to android/build.gradle as it is now required to run dependencies, which the release version is lacking.

Please leave this repo public so we can access it for our mobile app 😊

To learn more about this plugin and check on releases that should fix this issue check out their pub.dev page

Installation

First, add qr_code_tools as a dependency in your pubspec.yaml file.

iOS

Add one rows to the ios/Runner/Info.plist:

  • one with the key Privacy - Photo Library Usage Description and a usage description.

Or in text format add the key:

<key>NSPhotoLibraryUsageDescription</key>
<string>Can I use the photo library please?</string>

Android

Nothing to do

Example

import 'package:qr_code_tools/qr_code_tools.dart';

String _data;

/// decode from local file
Future decode(String file) async {
  String data = await QrCodeToolsPlugin.decodeFrom(file);
  setState(() {
    _data = data;
  });
}

For a more elaborate usage example see here.

About

The Flutter plugin for iOS and Android to decoding QR codes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 34.3%
  • Kotlin 22.4%
  • Ruby 17.7%
  • Swift 17.5%
  • Objective-C 5.5%
  • Shell 2.6%