mgcrea / vision-camera-barcode-scanner

High performance barcode scanner for React Native using VisionCamera
MIT License
84 stars 11 forks source link

Highlight is miss-aligned on Camera V4 #35

Open karel-suchomel-ed opened 4 months ago

karel-suchomel-ed commented 4 months ago

I tried to update our camera to V4 but I noticed an issue with CodeHighlight not being aligned correctly. It happens in a clean project with only the example code in this repo.

I specified an orientation to be 'portrait', but on Android, I'm getting this error while scanning: Unsupported orientation: landscape-left

KraljSamo commented 4 months ago

Can confirm. Its way off on both iOS and Android. I am also receiving this warning on Android Unsupported orientation: landscape-left


  "dependencies": {
    "@mgcrea/vision-camera-barcode-scanner": "0.11.2",
    "react": "18.2.0",
    "react-native": "0.73.8",
    "react-native-vision-camera": "4.0.3",
    "react-native-worklets-core": "1.3.3"
  },
vladimir2t commented 2 months ago

Not solutions?