...
You can customize the camera and flash in the following ways:
Activate Display the flash toggle button
To enable users to toggle activate/deactivate the camera flash, passtrue
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashButtonEnabled = ))
.Turn off Set flash on by default
Flash is on In our SDK the flash is set off by default, and you can turn set it off on by passingfalse
true
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashOnByDefault = true))
.
We recommend that you stick with the flash being off by default and let the user decide if they need to turn it on. We had a thorough study for the best results of the flash state and understood that turning the flash OFF has much better results in most cases.
For more information about UI customization, see Camera Screen.
...