Coder Social home page Coder Social logo

codingwithtashi / simple_barcode_scanner Goto Github PK

View Code? Open in Web Editor NEW
39.0 2.0 52.0 5.4 MB

Simple Barcode Scanner

Home Page: https://pub.dev/packages/simple_barcode_scanner

License: MIT License

Kotlin 0.26% Swift 1.35% Objective-C 0.07% Dart 31.04% HTML 7.21% CMake 20.59% C++ 38.04% C 1.44%
barcode-reader barcode-scanner flutter-barcode-scanner flutter-qr-scanner qrcode-scanner

simple_barcode_scanner's Introduction

simple_barcode_scanner

simple_barcode_scanner that let you scan barcode and qr code in mobile,web and windows.

Demo

Android IOS
drawing drawing
Window Web
drawing drawing

Features

  • Scan barcode in mobile devices using flutter_barcode_scanner
  • Scan barcode in web/window using html5-qrcode package

Installation and configuration

Getting started

simple_barcode_scanner: ^0.0.8

Import the library:

import 'package:simple_barcode_scanner/simple_barcode_scanner.dart';

Usage

   ElevatedButton(
              onPressed: () async {
                var res = await Navigator.push(
                    context,
                    MaterialPageRoute(
                      builder: (context) => const SimpleBarcodeScannerPage(),
                    ));
                setState(() {
                  if (res is String) {
                    result = res;
                  }
                });
              },
              child: const Text('Open Scanner'),
            )

Todo

  • Flash and switch camera are only available in mobile devices
  • Enhancement

Note

Feel free to fork and send pull request. If you have any questions, feedback or ideas,You can create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.

You can also buy me a cup of coffee

simple_barcode_scanner's People

Contributors

adelaskri avatar ajaay7 avatar codingwithtashi avatar massmarz avatar pedromneto97 avatar tashi146 avatar treyhendon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simple_barcode_scanner's Issues

Grey screen on android 14

I'm facing a issue on android 14.
When SimpleBarcodeScannerPage is instantiated return a grey frame in place of a camera view.

On all other android versions and on ios it's working fine.

Any suggestion or fixes?

Camera wont connect

Hello!

I am really struggling to implement this into a project. All I am getting is a grey blank page when I click the button.
IMG_3855

I am currently looking for this to work as a barcode & qr code scanner for web on desktop and mobile.

This is the code.

import 'package:simple_barcode_scanner/screens/shared.dart';

import 'package:simple_barcode_scanner/simple_barcode_scanner.dart';

class SimpleBcodeScanner extends StatefulWidget {
const SimpleBcodeScanner({
Key? key,
this.width,
this.height,
}) : super(key: key);

final double? width;
final double? height;

@OverRide
_SimpleBcodeScannerState createState() => _SimpleBcodeScannerState();
}

class _SimpleBcodeScannerState extends State {
String result = '';
@OverRide
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
ElevatedButton(
onPressed: () async {
var res = await Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const SimpleBarcodeScannerPage(),
));
setState(() {
if (res is String) {
result = res;
}
});
},
child: const Text('Open Scanner'),
),
Text('Barcode Result: $result'),
],
),
);
}
}

Example app not running on windows

I'm trying to use the package in my windows project, but it isn't working in my project, so I tried to open the example app in windows and it show an error too.

You can see the end of the verbose log when I trid to run the project:

flutter run -d windows -v

...
[  +21 ms]   rohelper.cc
[+2807 ms]   string_converter.cc
[ +685 ms]   texture_bridge_gpu.cc
[+3526 ms] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[  +31 ms]   Gerando C�digo...
[ +436 ms] Projeto de compila��o pronto
"C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj" (destinos padr�o) -- FALHA.    
[   +1 ms] Projeto de compila��o pronto "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\runner\example.vcxproj" (destinos padr�o) --   
FALHA.
[   +1 ms] Projeto de compila��o pronto "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\ALL_BUILD.vcxproj" (destinos padr�o) -- FALHA. 
[        ] Projeto de compila��o pronto "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\INSTALL.vcxproj" (destinos padr�o) -- FALHA.   
[   +2 ms] FALHA da compila��o.
[   +1 ms] "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\INSTALL.vcxproj" (destino padr�o) (1) ->
[        ] "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\ALL_BUILD.vcxproj" (destino padr�o) (3) ->
[        ] "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\runner\example.vcxproj" (destino padr�o) (5) ->
[        ] "C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj" (destino padr�o) (8)
->
[   +1 ms] (ClCompile destino) ->
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\experimental/coroutine(37,1): fatal  error C1189: #error:  The 
<experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard  
C++20 coroutines. [C:\Users\edsonboldrini\www\gekom\simple_barcode_scanner\example\build\windows\plugins\webview_windows\webview_windows_plugin.vcxproj]
[   +1 ms]     0 Aviso(s)
[   +1 ms]     9 Erro(s)
[        ] Tempo Decorrido 00:01:02.18
[  +22 ms] Building Windows application... (completed in 66,5s)
[   +2 ms] Exception: Build process failed.
[  +10 ms] "flutter run" took 67.532ms.
[   +7 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:713:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>


[ +178 ms] ensureAnalyticsSent: 173ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

Here is my flutter doctor:

flutter doctor -v

image

how to scan in windows?

Hi.
I want to try using this package in windows.
--Is it possible for this package to use webcam of laptop to scan bar code?
--and is it possible for this package to scan barcode with a barcode reader device?
when I run the code, after allowing camera access, nothing happens.
this is what I use:

ElevatedButton(
                                onPressed: () async {
                                  var res = await Navigator.push(
                                      context,
                                      MaterialPageRoute(
                                        builder: (context) =>
                                            const SimpleBarcodeScannerPage(),
                                      ));
                                  if (!mounted) return;
                                  res != null
                                      ? BlocProvider.of<--->(context)
                                          .selectedFileCode(res as String)
                                      : null;
                                },
                                child: const Text('Open Scanner'),
                              ),

Building for flutter windows throws errors

I added this package to the project and tried to build for windows and it throwed the errors as shown in the attched image. How can I resolve this? I tried to run the sample code and it gave the same set of errors too.
qr_scan_windows_ss

can not scan

Hi,
I want to scan some qrCode in android, I get these messages in console and scanner is not returning anything .
I tried on android 4 and 12

W/DynamiteModule(30647): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
I/DynamiteModule(30647): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0

I'm calling barcode scanner like this:

 ElevatedButton(
                                onPressed: () async {
                                  var res = await Navigator.push(
                                      context,
                                      MaterialPageRoute(
                                        builder: (context) =>
                                            const SimpleBarcodeScannerPage(
                                              scanType: ScanType.qr,
                                            ),
                                      ));
                                  setState(() {
                                    if (res is String) {
                                      _serialNumber = res;
                                    }
                                  });
                                },
                                child: Text('scan')),

Web Scanner works differently

The scanner available for android, ios is good, but for web its only able to scan CODE 128 barcode, and most formats are being ignored by the web scanner.
Unable to scan EAN13, UPCA, etc.

Testing this barcode, EAN-13: Barcode product Link

Android: Scans perfectly
mob

Web: Ignores and unable to detect EAN-13 type Barcode,
However html5-qrcode says they support ean13 as well.

web

Unable to generate build files

I try to build flutter app using your dependencies and i got error
already installed dependencies

-simple_barcode_scanner: ^0.0.5
-webview_windows: ^0.2.2

PS D:\FlutterProject\MyMobileApp> flutter run -d windows

Launching lib\main.dart on Windows in debug mode...
Nuget is not installed.
CMake Error at flutter/ephemeral/.plugin_symlinks/webview_windows/windows/CMakeLists.txt:77 (target_compile_features):
target_compile_features The compiler feature "cxx_std_23" is not known to
CXX compiler

"MSVC"

version 19.29.30146.0.

Building Windows application...
Exception: Unable to generate build files

Simple barcode scanner doesn't use the main camera in web mobile

I'm using the simple_barcode_scanner demo, and in the web version on an android phone, it uses the low resolution macro camera rather than the main camera. I have to get really close to the barcode, and since it is so low in resolution, it can't scan barcode well especially barcode on a screen rather than on a physical object.

After making signed apk apk stop working

After adding any barcode scanning library, my app stop working on android devices, it working fine while in debug mode but when I create signed apk and install on Android device app only shows white screen, nothing else, please suggest what should I do.

contnious scanning

Is there a contnious scanning is there for to contnious scanning the barcode

Flutter package - simple_barcode_scanner 0.0.5 not working on windows

Hi I am currently using the flutter package simple_barcode_scanner 0.0.5 in order to scan a QR code on my (flutter) windows application. The project compiles, camera permission is requested etc, however I am not receiving any result back when scanning a QR code. Can someone kindly confirm if they are experiencing the same result and/or if there is an additional setup/configuration step that I might be missing in order for this package to work.

Kind regards,
Alecia

Change scanner shape

Is it possible to change the scanner shape from rectangle to square (to be like qr code) in web

flutter_barcode_scanner doesnt work

Error: Failed running flutter pub get...
Because every version of simple_barcode_scanner depends on flutter_barcode_scanner from hosted and custom_widget depends on flutter_barcode_scanner from git, simple_barcode_scanner is forbidden.
So, because custom_widget depends on simple_barcode_scanner ^0.0.6, version solving failed.

Cannot Orientation Lock

Currently the scanner is not able to be locked to a specific orientation. I can lock the rest of my app but not the scanner itself for my app which should be portrait mode only.

UPC Barcode is not supported

Your library UPC barcode is not supported in Web, But it working fine in android & IOS so can you please provide a support UPC type barcode

BARCODE TYPE

Hi
Can you please help me with how will I get the barcode type, and which type of barcode scanned?

QR code not scanning for window

Hi the camera opens up on my desktop app but nothing happens when I put a barcode in front of it, however when I create the app for Android it works fine. Could you help?

I don't mind paying for your time

Thanks

Windows: Opens camera but doesn't read QR Codes.

Good Day, I am working on a desktop application that scans a QR Code using your plugin. The camera launches but it doesn't give any results. Nothing happens, the camera just opens. I was wondering how to solve this.

The application closes when trying to start the barcode scanner

It's happening that my application is closing when I call the barcode scanning. The system is giving me the error below:

"D/AppCompatDelegate(18130): Checking for metadata for AppLocalesMetadataHolderService : Service not found
D/AndroidRuntime(18130): Shutting down VM
E/AndroidRuntime(18130): FATAL EXCEPTION: main
E/AndroidRuntime(18130): Process: br.com.cspautomacao.lazarus_comanda, PID: 18130
E/AndroidRuntime(18130): java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
E/AndroidRuntime(18130): at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:926)
E/AndroidRuntime(18130): at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:889)
E/AndroidRuntime(18130): at androidx.appcompat.app.AppCompatDelegateImpl.onPostCreate(AppCompatDelegateImpl.java:585)
E/AndroidRuntime(18130): at androidx.appcompat.app.AppCompatActivity.onPostCreate(AppCompatActivity.java:153)
E/AndroidRuntime(18130): at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1491)
E/AndroidRuntime(18130): at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3697)
E/AndroidRuntime(18130): at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
E/AndroidRuntime(18130): at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
E/AndroidRuntime(18130): at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
E/AndroidRuntime(18130): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
E/AndroidRuntime(18130): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
E/AndroidRuntime(18130): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(18130): at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime(18130): at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime(18130): at android.app.ActivityThread.main(ActivityThread.java:7872)
E/AndroidRuntime(18130): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(18130): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime(18130): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
I/Process (18130): Sending signal. PID: 18130 SIG: 9
Lost connection to device."

Return command Flutter Doctor:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [versÆo 10.0.22621.2134], locale pt-BR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.1)
[√] Android Studio (version 2022.2)
[√] VS Code (version 1.81.1)
[√] Connected device (4 available)
[√] Network resources

Enhancement for barcode scan

  • The window for the barcode is a little small. so I have to put the barcode far from the camera and it's hard to see that.

  • Every time I press the button to scan a barcode, it asks for camera permission. It would be better to remember the choice and not ask every time.

Feature request: make page title an optional parameter to BarcodeScanner

@tashi146 simple feature request to make page title an optional parameter to BarcodeScanner(). I can do a pull request if you want, but it's a really trivial change, might be more efficient if you make the change. I'm only using web but it probably applies to other platforms too.

For web:
In https://github.com/CodingWithTashi/simple_barcode_scanner/blob/main/lib/screens/web.dart add a new param to BarcodeScanner to allow override of the default page title.

just add

final String? pageTitle; 

and then

appBar: AppBar(
        title: Text(pageTitle?? kScanPageTitle),
      ),

simple_barcode_scanner wont scan

hi
i downloaded the dependencie and followed the instructions as said in the documentation , but in my web version of the flutter app the barcode scanner just open the camera and stay there , i didn't really get the html5 qr code part , do i need to install a new package to get barcode to scan in web?

Mobile web not working

Hi, my friend
scanner not work on mobile web (chrome) :(
The white screen opens and the camera does not activate, While it works properly in Windows browser (chrome) !

Delay the scanning

Hi, is that possible to delay the scanning? Like i dont want the to scan immediately after the function is call. Instead, i want it to wait for few second for the end user to hold for the right position, otherwise it the possibility of scanning wrong barcode in bunch of barcode is very high.

QR Code containing Japanese Character not being scanned in Android 14, but worked fine on Android 10.

I am using this package to scan and read QR Code.
When I use QR containing Japanese Text: Issue occurring for Android 14. (Worked fine on iOS, and Android 10)
When I use QR containing English Text: There is no issue.

Log generated:
Restarted application in 20,647ms.
W/DynamiteModule(22792): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
I/DynamiteModule(22792): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0
I/DynamiteModule(22792): Considering local module com.google.android.gms.vision.barcode:0 and remote module com.google.android.gms.vision.barcode:234414000
I/DynamiteModule(22792): Selected remote version of com.google.android.gms.vision.barcode, version >= 234414000
V/DynamiteModule(22792): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/Vision (22792): Would have logged:
W/Vision (22792): # m.aot@fc7322f1
W/WindowOnBackDispatcher(22792): OnBackInvokedCallback is not enabled for the application.
W/WindowOnBackDispatcher(22792): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
I/CameraBase(22792): Connect camera (legacy API) - overrideToPortrait 0, forceSlowJpegMode 0
W/Vision (22792): Would have logged:
W/Vision (22792): # m.aot@4a513f9c
W/Vision (22792): Would have logged:
W/Vision (22792): # m.aot@17cfcde9
E/FlutterBarcodeScannerPlugin(22792): onBarcodeScanReceiver: Attempt to invoke interface method 'void io.flutter.plugin.common.EventChannel$EventSink.success(java.lang.Object)' on a null object reference
D/Camera (22792): app passed NULL surface
I/flutter (22792): result: -1
W/WindowOnBackDispatcher(22792): sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@267a707
W/WindowOnBackDispatcher(22792): OnBackInvokedCallback is not enabled for the application.
W/WindowOnBackDispatcher(22792): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.

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.