haoteng10 / HealthyPlate

0 stars 0 forks source link

Barcode Scanner: Unable to Scan #18

Open haoteng10 opened 4 years ago

haoteng10 commented 4 years ago

Steps to Reproduce

  1. Open the barcode scanner
  2. Nothing happens

Repeated Console Errors

I/DynamiteModule( 5903): Considering local module com.google.android.gms.vision.barcode:0 and remote module com.google.android.gms.vision.barcode:0
E/Vision  ( 5903): Error loading module com.google.android.gms.vision.barcode optional module true: gv: No acceptable module found. Local version is 0 and remote version is 0.
I/Vision  ( 5903): Request download for engine barcode is a no-op because rate limiting
W/DynamiteModule( 5903): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
I/DynamiteModule( 5903): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0
D/BarcodeNativeHandle( 5903): Cannot load feature, fall back to load dynamite module.
W/DynamiteModule( 5903): Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule( 5903): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:2703
I/DynamiteModule( 5903): Selected remote version of com.google.android.gms.vision.dynamite, version >= 2703

This error may have resulted from the barcode scanner dependency flutter_barcode_scanner

This issue may require us to modify the code to use an alternative Flutter package for the barcode scanning feature. Ex. barcode_scan

JasonDevTech commented 3 years ago
Another exception was thrown: NoSuchMethodError: The getter 'uid' was called on null.

The getter 'uid' was called on null.
Receiver: null
Tried calling: uid
haoteng10 commented 3 years ago

This may be caused by incompatibilities with the emulator that I was using.

haoteng10 commented 3 years ago

Issue needs to be addressed