Skip to content

Crash While Scanning #282

@BabyOilJohnson

Description

@BabyOilJohnson

Describe the bug
The app stops working when you try to use the barcode feature. It stops when the product data is being retrieved (the loading circle appears).
This happens about 5 out of 10 times.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Edit item
  2. Click on Barcode Scanner icon
  3. Scan the code
  4. Loading circle appears
  5. Before the product data appears
  6. Turn-off the internet (make sure the app showns no internet connection)
  7. Then, turn on the internet (loading circle appears)
  8. See error

Expected behavior
The app should be able to scan and retrieve data without crashing.

Screenshots
I can provide if needed.

Smartphone (please complete the following information):

  • Device: [Samsung A30]
  • OS: [Android 11]
  • Browser [Cromite]
  • Version [2.5.1]

Edit: Updated the Reproduce step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions