gev2002 / react-native-vision-camera-text-recognition

https://www.npmjs.com/package/react-native-vision-camera-text-recognition
MIT License
43 stars 7 forks source link

node_modules/react-native-vision-camera-text-recognition/android/src/main/java/com/visioncameratextrecognition/VisionCameraTranslator.kt:101:13 Unresolved reference: Orientation #11

Closed shishi-RN closed 2 months ago

shishi-RN commented 3 months ago

node_modules/react-native-vision-camera-text-recognition/android/src/main/java/com/visioncameratextrecognition/VisionCameraTranslator.kt:101:13 Unresolved reference: Orientation

gev2002 commented 3 months ago

It's same problem like this. #2247210816

shishi-RN commented 3 months ago

Hi, I encountered another issue while launching the app. It crashes when opening the camera, but the app works when isActive={false}

gev2002 commented 3 months ago

I also tested this package again, there are no problems with Android, there is only a problem with the IOS orientation, because orientation works differently now I will change it soon.

zzz08900 commented 3 months ago

Would you take a look at this? https://github.com/gev2002/react-native-vision-camera-barcodes-scanner/issues/4

Seems to be the same problem. By the look of things the orientation bug in MLKit on iOS is not only limited to barcode scanning, or maybe Google designed MLKit on iOS to work just like that.

gev2002 commented 2 months ago

Orientation bug is fixed. @zzz08900 I'll review that.