Skip to main content

Native Components | React Native Barcode Scanner

You can use native components to embed our Barcode Scanning functionalities directly into your React layouts, allowing you to customize the user interface and experience in great detail and precision.

Note: Native Components are bundled with react-native-scanbot-barcode-scanner-sdk starting from v3.0.1

ScanbotBarcodeCameraView

ScanbotBarcodeCameraView exposes a configurable camera view that allows you to detect barcodes in real time.

Usage

Include the component in your views and use the onBarcodeScannerResult property to handle the detection results. Customize the UI and behavior of ScanbotBarcodeCameraView by using the component's properties. Each property is optional, and falls back to its default value if not specified. More on the available properties can be found here.

Example

src/screens/BarcodeCameraViewScreen.tsx
loading...

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?


On this page

Scroll to top