FirebaseMLException: Waiting for the barcode detection model to be downloaded. Please wait

Hi,

I have an issue with one of the application I install (MyFitnessPal) which features a very nice barcode scan … but on /e/ os it does not work. Checking the logs in Debug mode, I found the issue:

01-14 15:10:17.365 19668 19668 E BarcodeProcessor: Barcode detection failed!
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: com.google.firebase.ml.common.FirebaseMLException: Waiting for the barcode detection model to be downloaded. Please wait.
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.firebase.ml.vision.barcode.internal.zza.zza(com.google.firebase:firebase-ml-vision@@24.0.0:68)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.firebase.ml.vision.barcode.internal.zza.zza(com.google.firebase:firebase-ml-vision@@24.0.0:103)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.android.gms.internal.firebase_ml.zzpd.zza(com.google.firebase:firebase-ml-common@@22.0.0:31)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.android.gms.internal.firebase_ml.zzpf.call(com.google.firebase:firebase-ml-common@@22.0.0)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.android.gms.internal.firebase_ml.zzoz.zza(com.google.firebase:firebase-ml-common@@22.0.0:32)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.android.gms.internal.firebase_ml.zzoy.run(com.google.firebase:firebase-ml-common@@22.0.0)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at android.os.Handler.handleCallback(Handler.java:751)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at android.os.Handler.dispatchMessage(Handler.java:95)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at com.google.android.gms.internal.firebase_ml.zze.dispatchMessage(com.google.firebase:firebase-ml-common@@22.0.0:6)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at android.os.Looper.loop(Looper.java:154)
01-14 15:10:17.365 19668 19668 E BarcodeProcessor: 	at android.os.HandlerThread.run(HandlerThread.java:61)

How can I fix that please?

Many thanks.

A lot of barcode reader apps won’t work without original google play services. So I see no chance to get it running. Only when you can use a barcode reader from F-droid. They are all working fine.

EDIT: By the way, you can see, that google code is used / missing. You are on a ggogle free rom, so it is normal that this code is not available. And trying to install it on a ‘hidden’ way will destroy eOS and all of hos philosophie and you will loose your privacy.

1 Like

This is not going to help your issue, but maybe seriously reconsider using this app if you value your privacy, not only was their user data hacked/breached and sold on the darkweb. The app itself contains the most trackers ive ever seen in one app (19, google, facebook, amazon, twitter, moat, branch etc)

1 Like

Many thanks for your answers.

Yes, of course if I moved to /e/ os, it is NOT to install any Google things; my question was: is there somehow a way to install a free implementation of “google barcode scanning feature”, exactly like microG does it for some others Google features?

I didn’t know MyFitnessPal was so awful, thanks to make me know x_O

So … the question is know … what Free “Calory Counter” Application can I use?

Many thanks.

is there no webside where you can do it ? If yes, you can try to use it PWA like