@capgo/capacitor-zebra-datawedge 8.1.9 → 8.1.10

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.
@@ -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
- if (call.hasOption("reportingGenerateOption")) {
414
- options.putString("REPORTING_GENERATE_OPTION", call.getString("reportingGenerateOption"));
413
+ String reportingGenerateOption = call.getString("reportingGenerateOption");
414
+ if (reportingGenerateOption != null) {
415
+ options.putString("REPORTING_GENERATE_OPTION", reportingGenerateOption);
415
416
  }
416
- if (call.hasOption("reportingShowForManualImport")) {
417
- options.putString("REPORTING_SHOW_FOR_MANUAL_IMPORT", Boolean.toString(call.getBoolean("reportingShowForManualImport", false)));
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.9",
3
+ "version": "8.1.10",
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"