4 Commits

Author SHA1 Message Date
ee0700d70d If a device doesn't have any camera, hide the visor + settings (#2317) 2022-06-20 08:46:40 +02:00
9a6d74963c The app is now able to restart the camera if it was claimed by another app/process (#1897) 2022-05-19 19:04:52 +02:00
195f9db6a4 feat: Camera controller as a singleton (#1873)
* Improvements about resuming the camera

* Remove unused print call

* Singleton for the CameraController
2022-05-17 19:55:23 +02:00
b55b6aa8d1 fix: Black camera screen (#1732)
* This should fix the black screen with the camera scanner

* Mark two methods as private

* A few more comments

* const constructor for CameraHelper

* Update packages/smooth_app/lib/pages/scan/lifecycle_manager.dart

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>

* Update packages/smooth_app/lib/pages/scan/lifecycle_manager.dart

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
2022-05-04 18:02:27 +02:00