Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@whity3d/react-native-datawedge-intents

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whity3d/react-native-datawedge-intents

React Native Android module to interface with Zebra's DataWedge using Android Intents to control the barcode scanner and retrieve scanned data

latest
Source
npmnpm
Version
1.0.8
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

react-native-datawedge-intents

React Native Android module to interface with Zebra's DataWedge using Android Intents to control the barcode scanner and retrieve scanned data

Installation

npm install @whity3d/react-native-datawedge-intents

Usage

init scanner and listen

import {
  ScannerInit,
  ScannerReceiver,
} from '@whity3d/react-native-datawedge-intents';

// ...

const eventEmitter = new NativeEventEmitter();

// ...

const profileConfig: ProfileConfigType = {
  name: 'Example',
  package: 'datawedgeintents.example',
};
ScannerInit(profileConfig);
const subscription = eventEmitter.addListener(
  'datawedge_broadcast_intent',
  _broadcastReceiverHandler
);
return () => {
  subscription.remove();
};

// ...

const _broadcastReceiverHandler = (intent: any) => {
  const objResult = ScannerReceiver(intent);
  // get data here
  console.log(objResult.data);
};

// ...

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Made with create-react-native-library

Keywords

react-native

FAQs

Package last updated on 23 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts