MobbScan Web: Mobile Support
Introduction
MobbScan Web runs smoothly in a smartphone, however it offers some extra features to improve the integration in this type of devices.
Camera selection
By default, MobbScan web will launch a camera app when it is run in a smartphone. However, you can enable the use of the camera from the browser, allowing a smoother experience on the smartphone. It can be enabled with the following code:
MobbScanAPI.enableVideoMobileCapture();
Custom listener
Some workflows need variations in their execution depending on if they are being run in a desktop browser or in a smartphone. To allow that, MobbScan Web includes the following listener to the document timeout event that is equivalent to MobbScanAPI.setTimeOutListener but it is only executed in smartphones:
MobbScanAPI.setTimeOutListenerVideoMobile(console.error);
