Barcode Scanner Integration

The “Wire Harness Insertion” quick start application uses a built-in device camera to scan a barcode. Is there any documentation on how this was done? Does it use Skylight, or is it calling an external app?

To use the built-in device camera as a barcode scanner, you can use skylight.startScanner inside of the Skylight application in a client-side script.

For a self-contained example, here is the recipe for camera-based scanning:

The client-side scripting API documentation for this function can be found here:



1 Like