Comments (8)
@JoaoSoaresDev and @har0ld-scl
It seems that react-native-vision-camera
is going to ship with QR code reader. However, it's not a priority as yet. I asked if there's any combination in which I can have a working camera with a QR code reader for RN versions 0.70+
and @metrix_hu was kind enough to share their method:
mrousavy/react-native-vision-camera#1662 (comment)
from vision-camera-code-scanner.
Any updates on this? Haven't found any forks of this repo anywhere.
from vision-camera-code-scanner.
Same problem here, it seems that this repo is already dead. I've waiting for this PR127 to be merged for several weeks.
I'm afraid that this dependency could block my project to upgrade to newer versions of React Native (0.72 and above).
from vision-camera-code-scanner.
I am looking for the same thing -- I want the latest React Native, but I need CROSS-PLATFORM barcode scanning which forces me to use React Native Vision Camera. There's a great barcode scanning library for Android-only, which I had working in my app just fine. But that's not good enough; I need iOS too.
There are only (2) "Frameprocessor" plugins for doing barcode scanning with RNVC. One of them is proprietary/commercial, and so expensive the price is "Call for a quote". And then there's this one! So not a lot of choices there.
https://www.react-native-vision-camera.com/docs/guides/frame-processor-plugin-list
This man has supposedly forked and updated this repo to work with "RNVC v3" circa April 2023. I assume the chances to RNVC since April are minor, so that's a good bit of progress.
https://github.com/rkmackinnon/vision-camera-code-scanner/tree/react-native-vision-camera-v3
from vision-camera-code-scanner.
I have tried and it's work on version rc.3 but in last rc.5, it have errors in the swift file when build
from vision-camera-code-scanner.
"I have tried and it works on version rc.3 but in last rc.5, it has errors in the swift file during build."
Is it possible to get those errors fixed?
from vision-camera-code-scanner.
For what it's worth, I tried the mackinnon fork (which I forked to my own repo, but I digress) on 3.0.0-rc5, and it doesn't build successfully on Android either.
/home/matthew/dev/stackbayapp/node_modules/vision-camera-v3-barcode-scanner/android/src/main/java/com/visioncameracodescanner/VisionCameraCodeScannerPlugin.java:40: error: VisionCameraCodeScannerPlugin is not abstract and does not override abstract method callback(Frame,ReadableNativeMap) in FrameProcessorPlugin
public class VisionCameraCodeScannerPlugin extends FrameProcessorPlugin {
^
/home/matthew/dev/stackbayapp/node_modules/vision-camera-v3-barcode-scanner/android/src/main/java/com/visioncameracodescanner/VisionCameraCodeScannerPlugin.java:62: error: method does not override or implement a method from a supertype
@OverRide
^
/home/matthew/dev/stackbayapp/node_modules/vision-camera-v3-barcode-scanner/android/src/main/java/com/visioncameracodescanner/VisionCameraCodeScannerPlugin.java:251: error: constructor FrameProcessorPlugin in class FrameProcessorPlugin cannot be applied to given types;
super("scanCodes");
^
required: no arguments
found: String
reason: actual and formal argument lists differ in length
/home/matthew/dev/stackbayapp/node_modules/vision-camera-v3-barcode-scanner/android/src/main/java/com/visioncameracodescanner/VisionCameraCodeScannerPluginPackage.java:19: error: cannot find symbol
FrameProcessorPlugin.register(new VisionCameraCodeScannerPlugin());
^
symbol: method register(VisionCameraCodeScannerPlugin)
location: class FrameProcessorPlugin
4 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':vision-camera-v3-barcode-scanner:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
from vision-camera-code-scanner.
By the way, I couldn't get it to work on 3.0.0-rc3 either.
from vision-camera-code-scanner.
Related Issues (20)
- XCode build failure with "ld: symbol(s) not found for architecture arm64" HOT 10
- ERROR ReferenceError: Can't find variable: _setGlobalConsole HOT 3
- Canβt recognize the QR code of Etherscan. HOT 2
- Does not work. Doesn't recognize QR code HOT 8
- Could not build Objective-C module 'vision_camera_code_scanner' HOT 9
- scanBarcodes returns undefined upon scanning a QR code HOT 6
- The camera flickers when using frameProcessor HOT 1
- Warning: Can't perform a React state update on an unmounted component. HOT 2
- Add Auto zoom to Scan QR code HOT 1
- Port to react-native-vision-camera v3 HOT 10
- Unable to build with Vision Camera 3.0.0-rc4 HOT 29
- Failed to build in Apple M1 HOT 4
- DO NOT USE THIS LIBRARY, THIS DOES NOT WORK AT ALL HOT 6
- This Package needs update to support RNVC v3 HOT 4
- MRZ Scan ? HOT 2
- Crashes on startup on Xcode 15 HOT 7
- Problem with react native vision camera v3 HOT 7
- ERROR Frame Processor threw an error: Property '__scanOCR' doesn't exist HOT 2
- [ios] Crash when app reloads
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vision-camera-code-scanner.