Welcome to React Native CaptureSDK Documentation

The CaptureSDK eases the communication between your application and a Socket Mobile barcode scanner or NFC/RFID wireless Reader/Writer.

The Capture API provides a basic set of methods and callbacks to manage one or more Socket Mobile devices.

The CaptureSDK for React Native development is mainly a wrapper around CaptureJS SDK.

For more information about CaptureJS SDK go to CaptureJS.

If you want an overall presentation, you can jump to Getting Started with React Native CaptureSDK which describes how to install this React Native component in your development environment and get started with the new CaptureHelper class.

What’s new in version 2.0

Version 2.0 introduces CaptureHelper, a high-level lifecycle manager that replaces the manual CaptureRn + onCaptureEvent pattern. Instead of building CaptureProperty objects and interpreting raw events, you create a CaptureHelper instance with typed callbacks and call named methods.

Connected devices are now wrapped in CaptureHelperDevice objects that expose typed methods such as getFriendlyName(), getBatteryLevel(), setTrigger(), and more — no more low-level property construction.

Version 2.0 also adds support for Bluetooth LE devices (S721, D600, S550, S370) with a built-in discovery and connection flow.

See CaptureHelper for The React Native CaptureSDK for a complete API reference and Getting Started with React Native CaptureSDK for a quick-start guide.

Devices compatibility and CaptureSDK versions

Devices

< 2.0

2.0

SocketCam C860

SocketCam C820

S720/D720/S820

D600, S550, and all other barcode scanners

S370

S320

S721 (new Bluetooth LE barcode scanner)

Contents

Indices and tables