flutter_smart_scan 1.0.4 copy "flutter_smart_scan: ^1.0.4" to clipboard
flutter_smart_scan: ^1.0.4 copied to clipboard

A plugin for scanning barcodes on Android and iOS. Supports barcodes, QR codes, etc.

Flutter-SmartScan #

A plugin for Flutter apps that adds barcode scanning support on both Android and iOS.

pub package

Demo gif

Try/Get Started From the Example Project: #

iOS #

Download/clone the repository, open example/ios/Runner.xcworkspace in Xcode, go to the Runner target in the project settings, and change Team under Signing and Capabilities to your Apple ID. Then, just run flutter run in the example directory.

Android #

Download/clone the repository, then run flutter run in the example directory.

Adding to an Existing Project: #

Run flutter pub add flutter_smart_scan in your project's directory. Then, add import 'package:flutter_smart_scan/flutter_smart_scan.dart'; to any file where you want to use barcode scanning. For Android projects, you're done! For iOS projects, follow the additional steps below:

iOS #

  • Open ios/Runner.xcworkspace in Xcode
  • In the project settings, go to the Info tab and set iOS Deployment Target to 12.0
  • In the target settings, go to the General tab and set the iOS value to 12.0 under Minimum Deployments
  • In the target settings, go to the Signing and Capabilities tab and change Team under Signing and Capabilities to your Apple ID.

Help #

This repository is a modified version of the flutter_barcode_scanner repository, available here. The modifications allow you to exit the continuous barcode scanning mode at any point (for example, after a certain barcode is found). Read the comments in example/lib/main.dart to see how this is done. The other functionalities are identical to the flutter_barcode_scanner repository, so you can use its documentation as needed.

0
likes
160
pub points
11%
popularity

Publisher

unverified uploader

A plugin for scanning barcodes on Android and iOS. Supports barcodes, QR codes, etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_plugin_android_lifecycle

More

Packages that depend on flutter_smart_scan