Flutter: QR Code Scanner App Flutter: QR Code Scanner App

Overview

Flutter QRCode Scanner APP

Image

Show some ❤️ and star the repo to support the project

A new Flutter project.

Features

  • Scan 2D barcodes
  • Scan QR codes
  • Control the flash while scanning
  • Permission handling
  • Support multiple barcode libraries

Getting Started

Flutter Project

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

    dependencies: barcode_scan: "^1.0.0"

Android

For Android, you must do the following before you can use the plugin:

  • Add the camera permission to your AndroidManifest.xml

    <uses-permission android:name="android.permission.CAMERA" />

  • Add the Barcode activity to your AndroidManifest.xml <activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/>

iOS

To use on iOS, you must add the the camera usage description to your Info.plist

<key>NSCameraUsageDescription</key>
<string>Camera permission is required for barcode scanning.</string>

Getting Started with Flutter

For help getting started with Flutter, view our online documentation.

Comments
  • Build error after adding cloud_firestore to the project

    Build error after adding cloud_firestore to the project

    Getting the following error

    Execution failed for task ':app:preDebugBuild'.

    Android dependency 'androidx.core:core' has different version for the compile (1.0.0) and runtime (1.0.1) classpath. You should manually set the same version via DependencyResolution

    opened by sushi999 2
  • Program type already present: android.arch.core.util.Function

    Program type already present: android.arch.core.util.Function

    pubspec.yaml

    dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter intl: intl_translation: firebase_auth: google_sign_in: cloud_firestore: firebase_analytics: barcode_scan: cupertino_icons: ^0.1.2

    opened by cbyniiaii 2
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 20% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /fa.png | 403.74kb | 319.66kb | 20.83% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 10.85kb | 10.68kb | 1.62% | | | | | | | Total : | 414.59kb | 330.34kb | 20.32% |


    📝docs | :octocat: repo | 🙋issues | 🏅swag | 🏪marketplace

    opened by imgbot[bot] 0
  • Run issues after migrating to Androidx

    Run issues after migrating to Androidx

    https://github.com/iampawan/FlutterQRScanner-App/issues/6#issuecomment-489368546 When I follow this answer migrating to Androidx,then Launching lib\main.dart on Android SDK built for x86 in debug mode

    Launching lib/main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies...

    • Error running Gradle: ProcessException: Process "/Users/kuubee/Desktop/project/jiena/jingyi_deliver/android/gradlew" exited abnormally:

    Configure project :app WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. Command: /Users/kuubee/Desktop/project/jiena/jingyi_deliver/android/gradlew app:properties

    Finished with error: Please review your Gradle project setup in the android/ folder.

    opened by KuuBee 0
  • Gradle task assembleDebug failed with exit code 1

    Gradle task assembleDebug failed with exit code 1

    Launching lib\main.dart on Android SDK built for x86 in debug mode... FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:preDebugBuild'.

    Android dependency 'com.android.support:support-v4' has different version for the compile (27.1.1) and runtime (28.0.0) classpath. You should manually set the same version via DependencyResolution

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    • Get more help at https://help.gradle.org BUILD FAILED in 5s

    The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.


    Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

    opened by Jankeelol 3
Owner
Pawan Kumar
GoogleDevExpert for Flutter, Firebase, Dart & Web Tech. Public Speaker, Blogger, Entrepreneur & YouTuber. Founder of MTechViral & Let's Flutter with Dart.
Pawan Kumar
Flutter Advanced: Background Fetch | Run code in the background Android & iOS | Run code in the background Android & iOS

flutterbackground A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you starte

Pawan Kumar 40 Dec 16, 2022
Flutter Widget Quiz, made for Flutter Create (Source code size is limited to 5KB)

widget_quiz The branch for Flutter Create: https://github.com/mono0926/widget-quiz/tree/5k Getting Started This project is a starting point for a Flut

Masayuki Ono (mono) 50 Oct 14, 2022
This app I used for my daily practice flutter widget and code from afgprogrammer.

inspiration_app A new Inspiration App Flutter project. design view Code by afgprogrammer. Getting Started This project is a starting point for a Flutt

Arief Syahroni 4 Oct 7, 2021
Chat App Development Front-End and Back-End using Flutter, SocketIo, and NodeJS. (Limited code)

Chat App Development Front-End and Back-End using Flutter, SocketIo, and NodeJS. (Limited code) ( You can buy the full code on $30 (mail me): devstack

Balram Rathore 364 Dec 31, 2022
This repository contains all the code written throughout the 1ManStartup YouTube tutorials for building a travel budget app using Flutter

Travel Treasury Download The Live App This repository contains all the code written throughout the 1ManStartup YouTube tutorials for building a travel

Dave Faliskie 249 Dec 27, 2022
Open source code for Bonfire flutter app

Open source code for Bonfire flutter app

SSebigo 12 Nov 15, 2022
Firebase + Flutter sample apps with code snippets, supported by comprehensive articles for each implementation.

FlutterFire Samples This repo is created to contain various sample apps demonstrating the integration of Firebase with Flutter. The final goal is to c

Souvik Biswas 186 Dec 24, 2022
Modularising & Organising Flutter Code for beginners

quizzler A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Trần Văn Nguyên 1 Nov 16, 2021
Speed Code 2 - 漂亮的饮料食谱 App

?? 饮料食谱 App - 登录 UI - Speed Code ?? 项目介绍 ?? 这是我的第 2 个 Speed Code 视频,通过此项目视频你可以学习到如下 Widget 的基础或进阶用法,更重要的你可以学习到如何将这些 Widget 灵活的组合最终实现上面 ?? 的效果。如果觉得有用可以

Zero 62 Oct 6, 2022
Several live code examples I've shown during my live streams.

Live Code Examples Several live code examples I've shown during my live sessions on Twitch (in french only, sorry...). 001 - Sticky Headers The idea o

Aloïs Deniel 4 Sep 24, 2021
HackerHike IBM Code Challenge EasyLaw

HackerHike IBM Code Challenge EasyLaw

null 5 May 6, 2022
Code collections for MI2S Dart lang study group.

MI2S Dart Language Study Group Code collections for MI2S Dart lang study group. Get started Install flutter (which contains the dart SDK). Clone the r

Michael Shih 2 Nov 10, 2021
Scan Qr Code Which Will Automatically Add That User To The Visitor List

GIGO APP Gigo app is a mobile application where shopkeepers have an app that shows QR code and users can scan this QR code which will automatically ad

JASIRA T P 4 Dec 30, 2022
Flutter Responsive Game of Thrones Flutter App Flutter Responsive Game of Thrones Flutter App

got_2019 A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Pawan Kumar 16 Jun 9, 2022
Flutter RxDart Explained - The Flutter Way Flutter RxDart Explained - The Flutter Way

rx_demo A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Pawan Kumar 27 Oct 13, 2021
Flutter social button - A flutter package to create social media login buttons easily to any flutter app

Flutter Social Button is a flutter package to create social media login buttons easily to any flutter app.

Alok Dubey 10 Dec 5, 2022
App-flutter-travel-app - Travel App Built Using Flutter

App-flutter-travel-app - Travel App Built Using Flutter

Sangvaleap Vanny 69 Dec 4, 2022
Flutter Gender Prediction App Flutter Gender Prediction App

gender_predictor A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Pawan Kumar 30 May 31, 2022