ionic-frameworkcapacitorcapacitor-plugin

The Capacitor ML Kit Barcode Scanning Plugin version 6.0.0 does not work on iOS


I am using Vue 3.x and Ionic 7, and running the Capacitor ML Kit Barcode Scanning Plugin on a physical iOS 17 device.

In version 6.0.0 of the plugin, invoking any BarcodeScanner method on iOS results in the Xcode log always displaying the error: {“code”:“UNIMPLEMENTED”}.

Have any suggestions?


Solution

  • I discovered that the issue was due to the version of @capacitor/cli needing to be updated to 6.0.0. After updating to this version, everything worked normally.