Skip to content

Scanning QR code does not work (missing feature?) #670

@bytebytebyte

Description

@bytebytebyte

Hi, 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions