Code Monkey home page Code Monkey logo

flutter-smartscan's Introduction

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.

flutter-smartscan's People

Contributors

amolgangadhare avatar aidanlincke avatar software-ace avatar izzyaf avatar andrewackerman avatar tudorilisoi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.