react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

does the code scanner work for graphene device❓

Open nicolasburtey opened this issue 2 years ago • 2 comments

Question

some users are reporting their QR code scanner doesn't work.

could it be that if a user is using graphene and not using the google api that it may prevent the app to download the MLKit Vision Barcode Scanning ?

What I tried

No response

VisionCamera Version

3.6.8

Additional information

nicolasburtey avatar Nov 21 '23 00:11 nicolasburtey

bingo!, this seems the key of that issue, the model will definitely not download if google services is not available, are you saying that those devices don't support google services?

rodgomesc avatar Nov 21 '23 10:11 rodgomesc

Yup, lazy loading needs the Google Services. Did you update your AndroidManifests to include this?

Screenshot 2023-11-22 at 14 43 11

mrousavy avatar Nov 22 '23 13:11 mrousavy

Added a new flag to embed the model in the bundle

mrousavy avatar Jan 15 '24 13:01 mrousavy