smooth-app icon indicating copy to clipboard operation
smooth-app copied to clipboard

[Tracker] Make the app lighter

Open M123-dev opened this issue 2 years ago • 8 comments

What

We should make the app lighter (in parts) for easier development.

### Tasks
- [ ] Allow starting with a mock camera (which is always black)

Part of

  • #2528

M123-dev avatar Feb 03 '23 16:02 M123-dev

Can you brief a little @M123-dev , then I start on this

Akashsri3bi avatar Feb 05 '23 08:02 Akashsri3bi

@Akashsri3bi the camera is a core feature, but when developing on an emulator it just takes a lot of performance. So it would be good, to have a switch to deactivate the camera all together. Just showing a black screen where the camera would have been. (The overlay should stay)

M123-dev avatar Feb 08 '23 17:02 M123-dev

Mainly for https://github.com/openfoodfacts/smooth-app/issues/2849

M123-dev avatar Feb 08 '23 17:02 M123-dev

@Akashsri3bi @M123-dev In that particular case I would recommend to wait for my new barcode scanner before starting any work. And if it's for me (#2849) that probably wouldn't help as the app would crash anyway.

monsieurtanuki avatar Feb 08 '23 17:02 monsieurtanuki

Okay @monsieurtanuki @M123-dev thanks for update!

Akashsri3bi avatar Feb 08 '23 20:02 Akashsri3bi

@M123-dev I think work can be started @monsieurtanuki just made the fix for barcode scanner

Akashsri3bi avatar Feb 11 '23 18:02 Akashsri3bi

@Akashsri3bi You should probably wait until the fix for barcode scanner is reviewed/approved/merged.

monsieurtanuki avatar Feb 11 '23 18:02 monsieurtanuki

@Akashsri3bi You should probably wait until the fix for barcode scanner is reviewed/approved/merged.

Yup ! Sure.

Akashsri3bi avatar Feb 12 '23 15:02 Akashsri3bi