You can customize the camera and flash in the following ways:
Activate the flash toggle button
To enable users to toggle the camera flash, passtrue
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashButtonEnabled = ))
.Turn on flash by default
Flash is off by default, and you can turn it on by passingtrue
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashOnByDefault = true))
.
For more information about UI customization, see Camera Screen.