...
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
toGiniConfiguration.shared.flashToggleEnabled
.Turn Set flash on flash by default
Flash In our SDK the flash is set off by default, and you can turn set it off on by passingtrue
toGiniConfiguration.shared.flashOnByDefault
.
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.