Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

[Enhancement] MediaPicker.CapturePhotoAsync enable setting of initial flash mode

Open NeilN1 opened this issue 5 years ago • 4 comments

Can have the ability to turn the flash mode to off before a photo is taken? Right now it defaults to auto.

NeilN1 avatar Nov 27 '20 16:11 NeilN1

I wonder if this is something that can actually be set... This is very much the case where the user controls this.

mattleibow avatar Dec 02 '20 21:12 mattleibow

I believe you can set this in both iOS and Android

  • https://developer.apple.com/documentation/uikit/uiimagepickercontroller#//apple_ref/occ/instp/UIImagePickerController/cameraFlashMode
  • https://hofmadresu.com/2018/09/11/android-camera2-trials-and-tribulations.html

NeilN1 avatar Dec 02 '20 21:12 NeilN1

there is a PR in the originating repo for this feature: https://github.com/jamesmontemagno/MediaPlugin/issues/380

henrikweimenhog avatar Nov 29 '21 07:11 henrikweimenhog

@xamarin-release-manager could we get this feature migrated into this repo. Maybe the completed PR that @henrikweimenhog stated could be used?

https://github.com/jamesmontemagno/MediaPlugin/issues/380

slongietti avatar Jul 13 '22 16:07 slongietti