Camera and Flash
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 off flash by default
Flash is on by default, and you can turn it off by passingfalse
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashOnByDefault = ))
.
For more information about UI customization, see Camera Screen.