@ruhiverse/thermal-printer-plugin 1.0.5 → 1.0.6

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.
@@ -28,11 +28,8 @@ public class ThermalPrinterPlugin: CAPPlugin, CBCentralManagerDelegate, CBPeriph
28
28
  private var targetPrintAddress: String?
29
29
 
30
30
  // Common BLE service UUIDs for thermal printers (Serial Port Profile)
31
+ // Note: We scan with nil services to find all peripherals, then filter by name
31
32
  private let serialPortServiceUUID = CBUUID(string: "00001101-0000-1000-8000-00805F9B34FB") // SPP
32
- private let commonPrinterServiceUUIDs = [
33
- CBUUID(string: "00001101-0000-1000-8000-00805F9B34FB"), // SPP
34
- CBUUID(string: "E7810A71-73AE-499D-8C15-DAA9080B0E"), // Some thermal printers
35
- ]
36
33
 
37
34
  /// Find a connected External Accessory that matches the given (optional) name
38
35
  /// and supports one of the known printer protocols.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruhiverse/thermal-printer-plugin",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Capacitor plugin for thermal printing via USB and Bluetooth",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",