Skip to main content

scanStart()

Turn on kiosk illumination and begin scanning.

In mobile applications, scanning should not be enabled for extended periods of time, as the additional CPU usage will affect battery life. Additionally, the Mobile Imager (legacy) is not designed to provide continuous illumination.

AilaCordovaPlugin.scanStart()

Returns

Promise that resolves with a boolean when scanning starts.

Example

AilaCordovaPlugin.scanStart()
.then(() => {
console.log('Scanning started');
});