@capgo/capacitor-zebra-datawedge 8.1.9 → 8.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @capgo/capacitor-zebra-datawedge
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Scan barcodes and RFID tags on Zebra Android devices from your Capacitor app with DataWedge: manage profiles, trigger scans and receive results. An open alternative to Ionic's enterprise Zebra scanner.
|
|
4
|
+
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_zebra_datawedge">
|
|
4
6
|
<img
|
|
5
7
|
src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-zebra-datawedge"
|
|
6
8
|
alt="Capgo - Instant updates for Capacitor"
|
|
@@ -8,16 +10,38 @@
|
|
|
8
10
|
</a>
|
|
9
11
|
|
|
10
12
|
<div align="center">
|
|
13
|
+
<p>
|
|
14
|
+
<b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without
|
|
15
|
+
waiting for app store review.
|
|
16
|
+
</p>
|
|
11
17
|
<h2>
|
|
12
|
-
<a href="https://capgo.app/?ref=plugin_zebra_datawedge"
|
|
18
|
+
<a href="https://capgo.app/register/?ref=plugin_zebra_datawedge">➡️ Get started for free</a>
|
|
13
19
|
</h2>
|
|
14
|
-
<
|
|
20
|
+
<p>14-day unlimited free trial. No credit card required</p>
|
|
21
|
+
<p>
|
|
15
22
|
<a href="https://capgo.app/consulting/?ref=plugin_zebra_datawedge">
|
|
16
|
-
Missing a feature? We
|
|
23
|
+
Missing a feature? We'll build the plugin for you 💪
|
|
17
24
|
</a>
|
|
18
|
-
</
|
|
25
|
+
</p>
|
|
19
26
|
</div>
|
|
20
27
|
|
|
28
|
+
<p align="center">
|
|
29
|
+
<img
|
|
30
|
+
src="https://raw.githubusercontent.com/Cap-go/capacitor-zebra-datawedge/main/assets/github-social-preview.png"
|
|
31
|
+
alt="@capgo/capacitor-zebra-datawedge for Capacitor apps"
|
|
32
|
+
width="300"
|
|
33
|
+
/>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
## Key features
|
|
37
|
+
|
|
38
|
+
- **Scan events**: the `scan` listener delivers barcode and RFID data.
|
|
39
|
+
- **Soft scanning**: `softScanTrigger()` starts a scan from your UI.
|
|
40
|
+
- **Profiles**: `createProfile()`, `cloneProfile()`, `renameProfile()`, `deleteProfile()` and `setConfig()`.
|
|
41
|
+
- **Queries**: `enumerateScanners()`, `getActiveProfile()`, `getConfig()` and `getDatawedgeStatus()`.
|
|
42
|
+
- **Notifications**: `registerForNotification()` with the `notification` event.
|
|
43
|
+
- **Platforms**: Android. Android only, on Zebra devices with DataWedge. iOS and web return not available errors.
|
|
44
|
+
|
|
21
45
|
Capgo's Zebra DataWedge plugin brings Zebra's Android barcode and RFID capture APIs to Capacitor.
|
|
22
46
|
|
|
23
47
|
It is designed as an open alternative to Ionic's enterprise Zebra Scanner offering and exposes the same high-level groups:
|
|
@@ -410,11 +410,13 @@ public class ZebraDataWedgePlugin extends Plugin {
|
|
|
410
410
|
}
|
|
411
411
|
Bundle options = new Bundle();
|
|
412
412
|
options.putString("REPORTING_ENABLED", Boolean.toString(reportingEnabled));
|
|
413
|
-
|
|
414
|
-
|
|
413
|
+
String reportingGenerateOption = call.getString("reportingGenerateOption");
|
|
414
|
+
if (reportingGenerateOption != null) {
|
|
415
|
+
options.putString("REPORTING_GENERATE_OPTION", reportingGenerateOption);
|
|
415
416
|
}
|
|
416
|
-
|
|
417
|
-
|
|
417
|
+
Boolean reportingShowForManualImport = call.getBoolean("reportingShowForManualImport");
|
|
418
|
+
if (reportingShowForManualImport != null) {
|
|
419
|
+
options.putString("REPORTING_SHOW_FOR_MANUAL_IMPORT", Boolean.toString(reportingShowForManualImport));
|
|
418
420
|
}
|
|
419
421
|
Intent intent = ZebraDataWedge.newIntent();
|
|
420
422
|
intent.putExtra(ZebraDataWedge.CMD_SET_REPORTING_OPTIONS, options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-zebra-datawedge",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.11",
|
|
4
4
|
"description": "Capacitor plugin for Zebra DataWedge profile management, notifications, queries, and soft scanning on Zebra Android devices.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"watch": "tsc --watch",
|
|
51
51
|
"prepublishOnly": "bun run build",
|
|
52
52
|
"check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
|
|
53
|
+
"check:cap9-deprecated": "node scripts/check-cap9-deprecated.mjs",
|
|
53
54
|
"example:install": "cd example-app && bun install --frozen-lockfile",
|
|
54
55
|
"example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
|
|
55
56
|
"changelog:ai": "node scripts/generate-ai-changelog.mjs"
|