Optional
cameraOptional
cameraBackground color outside of the finder window.
Optional
cameraPreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only.
Optional
cancelWhether to hide the cancel button. iOS only.
Optional
cancelTitle of the cancel button.
Optional
enableTitle of the button that opens the screen where the user can allow the app to use the camera.
Optional
enableText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
Optional
finderAspect ratio of the finder frame (width to height), which is used to build the actual finder frame. Default is 7, which is good for standard machine readable zones.
Optional
finderForeground color of the detection overlay.
Optional
finderWidth of the finder frame border. Default is 2.
Optional
finderString being displayed as a description.
Optional
finderForeground color of the description label.
Optional
flashWhether to hide the flash toggle button. iOS only.
Optional
flashTitle of the flash toggle button. iOS only.
Optional
flashWhether the flash should be initially enabled. The default value is FALSE.
Optional
orientationLock mode for the UI's orientation.
Optional
replaceWhether to replace the cancel button in the top bar with a back arrow icon. Default is FALSE. Android only.
Optional
successWhether to play a beep sound after a successful detection. Default value is TRUE.
Optional
topBackground color of the top toolbar.
Optional
topColor of all active toggle buttons in the toolbar.
Optional
topColor of all inactive toggle buttons in the toolbar.
Optional
touchWhether touch-to-focus is enabled on the camera preview. Enabled by default. Android only.
Optional
useWhether buttons should use all-capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
Preferred camera module (Default: BACK).