Comments (6)
i recommend at least reanimated 2.3-betha-2
, 2.2.0
don't have an important PR of mrousavy, and you i'll experience a lot of issues.
from vision-camera-code-scanner.
The README.md example doesn't include import 'react-native-reanimated'
so that might be tripping people up. The example shouldn't work without it...
from vision-camera-code-scanner.
make sure that you followed all installation steps for react-native-reanimated in installation instructions
from vision-camera-code-scanner.
@thanhnh-implvn I ran into the same issue today. @rodgomesc is right, this was a problem with react-native-reanimated's installation. More specifically, the following directions from their docs fixed this for me (from https://github.com/mrousavy/react-native-vision-camera/blob/main/docs/docs/guides/FRAME_PROCESSORS.mdx#what-are-frame-processors)
:::note Frame Processors require react-native-reanimated 2.2.0 or higher. Also make sure to add
import 'react-native-reanimated'
to the top of the file when using useFrameProcessor. :::
Note, you need to add this to the top of your index.js
or index.ts
file at the root of your app (NOT the file with useFrameProcessor
- they need to clarify this in their docs). See in the example app in this repo https://github.com/rodgomesc/vision-camera-qrcode-scanner/blob/master/example/index.tsx
Hope this fixes your issue!
from vision-camera-code-scanner.
solved in #26,
0.1.6 is now available on npmjs
from vision-camera-code-scanner.
this error happen also on the https://www.npmjs.com/package/vision-camera-qrcode-scanner
can you fix the bug also on the QR code scanner ?
from vision-camera-code-scanner.
Related Issues (20)
- XCode build failure with "ld: symbol(s) not found for architecture arm64" HOT 10
- Should we create a new public fork for this repository? HOT 8
- 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.