openfoodfacts / openfoodfacts-androidapp

Native version of Open Food Facts on Android - Coders & Decoders welcome 🤳🥫

Home Page:https://android.openfoodfacts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On a LineageOS 14.1 scanning a barcode shows no camera image.

SantosSi opened this issue · comments

Checklist

  • Bug Report - The issue you are reporting might be there already. Please search on the issues tracker before creating or reporting an issue.
  • Before reporting, please ensure (if you can) that you have tested it with the latest (dev) version of the software.
  • Don't forget to tag your issue, it makes it easier to discover.
    Summary:
    On a LineageOS 14.1 (= Android 7.1.2) scanning a barcode shows no camera image.

Steps to reproduce:
Open the app and tap the red barcode scanner icon in lower right corner.

Expected behavior:
A camera image is displayed and the barcode is then recognized.

Observed behavior:
No image with the red barscanner line in the middle.

Device and Android version:
This works fine on the same model (Samsung Galaxy S6) with stock Android 7.0, both run the app in version 0.9.0.2 from the F-Droid store.
On the LineageOS smartphone the app does not crash, it simply does not show both the front and rear camera's image. The difference might be the camera app that is org.cyanogenmod.snap (2.0.002)

  • Was 0.9.0.1 working ?
  • We're about to change the scanning library. Willing to test the experimental version ?

No. Not sure since when I tested, but it never worked on LineageOS on that smartphone model.
Sure, if I can download the compiled apk.

@SantosSi Does 0.9.0.3 work better ?