Comments (5)
I have the same problem: Could this be a camel-case mismatch between the props onBarCodeScanned
and onBarcodeScanned
which are both used?
from expo.
same here! It works well on the mobile app but on the web it is not working and not scanning any QR code.
from expo.
@t0ma5h did you find any solution?
from expo.
@t0ma5h did you find any solution?
Not as of yet on SDK51. But just using sdk 50 for the time being should work
from expo.
I have the same problem: Could this be a camel-case mismatch between the props
onBarCodeScanned
andonBarcodeScanned
which are both used?
Yes, it seems like the current version of camera
(SDK51) is using types from the camera/legacy
.
Some props have been renamed (such as onBarCodeScanned
-> onBarcodeScanned
and type
-> facing
) and simply no longer plays well with the current API.
This PR (originally there to fix the camera-facing-issue) has also targetted the onBarCodeScanned issue as a side-effect.
The current implementation only seem to work with QR-codes though. It should work if you feed the CameraView with barcodeScannerSettings
(instead of barCodeScannerSettings
) and onBarcodeScanned
(and target QR-codes), but TypeScript will yell at you until this PR or any other fix is applied.
I believe this will get some attention pretty soon as the camera/legacy will be removed in SDK52 (if I remember correctly). In the meantime though, it would be good to get this patched up.
from expo.
Related Issues (20)
- Error ERR_NOTIFICATIONS_NO_EXPERIENCE_ID during getExpoPushTokenAsync HOT 1
- Cant connect to Server HOT 1
- Replace not working with nested stack and tab navigators but navigate works. HOT 1
- Many unsupported, broken packages are dependencies when running create-expo-app HOT 1
- [expo-video] Downloaded video does not play on Android HOT 2
- Android Preview APK build failing locally HOT 4
- Unable to resold expo-router/entry
- Possible Unhandled Promise Rejection on Android with Expo, Keycloak, and expo-auth-session HOT 1
- Expo API Router Vercel Deployment fails with ESM HOT 1
- Expo does not take gps position in the background. HOT 1
- hey, i face a small problem, Unable to resolve module @src
- expo-media-library is throwing an error without any useful details HOT 2
- [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received null HOT 4
- ./gradlew assembleRelease HOT 2
- Feature to prevent screenshot in iOS app with expo managed flow. HOT 1
- Auto linking fails to link android when using build.gradle.kts
- Deploying Expo API Routes without building for Web Platform HOT 1
- [expo-notifications] Push notification icon not working on some Android devices
- Expo-sqlite iOS bug when inserting values that contains "–" (Em-Dash) HOT 4
- Transparent NavBar and expo-camera causes invisible app UI
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 expo.