Sébastien Bel
Sébastien Bel
In the tap to focus feature, we use this: ```dart OnPreviewTap( onTap: (position, flutterPreviewSize, pixelPreviewSize) { snapshot.requireData.when( onPhotoMode: (photoState) => photoState.focusOnPoint( flutterPosition: position, pixelPreviewSize: pixelPreviewSize, flutterPreviewSize: flutterPreviewSize, ), onVideoMode: (videoState)...
_I'm only talking about the Android side._ First of all, let's distinguish two things: - passive focus: the camera tries to find the correct focus on its own - auto...
I started implementing the method 1. As expected, once the auto focus is canceled and the passive focus takes the lead, you might encounter problems like this one: .
Permissions are asked at different times - Camera: when `CamerAwesomeBuilder` appears in the widget tree. - Storage: when `CamerAwesomeBuilder` appears in the widget tree. - Microphone (optional): when starting to...
It seems that we may better respect apps orientation with this PR from Flutter: https://github.com/flutter/engine/pull/39763 Atm, there is no `SystemChrome.getPreferredOrientations()` so it's complicated to set back the app preferred orientations.
Not good news but the mentioned Flutter PR has been closed (and not merged). There's still an [issue](https://github.com/flutter/flutter/issues/95719) tracking this feature.