Skip to main content

Installation

Zebra Scanner plugin is only available for projects running Capacitor 3 or later.

Follow these steps to install Zebra Scanner into your app.

npm install @ionic-enterprise/zebra-scannernpx cap sync

Getting Started#

While the Zebra Scanner plugin supports all of the functionality provided by the DataWedge API, the simplest usecase is to simply register your application to listen for scanner events. This is done simply by importing the plugin, and prompting your connected device for a scan.

import { ZebraRuntime } from "@ionic-enterprise/zebra-scanner";
const result = await ZebraNotification.softScanTrigger();