Scanning QR code does not work (missing feature?)
See original GitHub issueHi, thanks for this great FLOSS initiative!
I suspect this is not a bug in the existing program, but a feature that has not been implemented (yet). When I use an app that scans a QR code for something, it never recognizes the code. Instead, it just keeps the camera running indefinitely.
When running logcat
on the device, the following stack trace jumps out:
11-25 18:36:53.412 25867 9525 W DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found.
11-25 18:36:53.413 25867 9525 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for com.google.android.gms.vision.dynamite
11-25 18:36:53.413 25867 9525 I DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:0
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: Error creating remote native handle
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: com.google.android.gms.dynamite.DynamiteModule$iF: No acceptable module found. Local version is 0 and remote version is 0.
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at com.google.android.gms.dynamite.DynamiteModule.ˋ(Unknown Source)
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at o.ᴝ.ˊ(Unknown Source)
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at o.ᴝ.ˏ(Unknown Source)
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at o.ᴉ.ˊ(Unknown Source)
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at o.п.ॱ(Unknown Source)
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at o.н$ˊ.run(Unknown Source)
11-25 18:36:53.415 25867 9525 E BarcodeNativeHandle: at java.lang.Thread.run(Thread.java:761)
I’m assuming this means the vision
module is not present in the Microg implementation. Is there a way to provide this module? If I’m reading the Google documentation correctly, the Vision API is superseded by Firebase ML Kit, which is now in beta. After a quick search I found that parts of Firebase are made open source. Could we somehow include Firebase in Microg, or am I way in over my head here?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:23 (2 by maintainers)
Vision Barcode API is now added via 5e39818a20032d261215420fc72e05efad4202b5.
Confirmed not working for Belfius Mobile and Payconiq. The SecScanQR workaround does work for some applications (Sometimes you need to cut a piece out of the scanned URL/Code, but at least it does the trick). But not if the applications don’t offer a way to enter the codes manually / refuse to work without the Google QR Code API… Which is the case for both these apps 😕
Any sight on implementation? Or another workaround to be suggested?