I’m implementing the Cordova plugin cordova-plugin-dbmeter through the Ionic Native wrapper. It works fine on Android, but on iOS, the plugin crashed when initialized. It builds fine in Xcode, though. And all other plugins (Capacitor, Ionic Native, Cordova) works just fine.
The error message I get is:
CordovaPlugins/DBMeter.swift:5: Fatal error: Use of unimplemented initializer ‘init(webViewEngine:)’ for class ‘CordovaPlugins.DBMeter’
And here it crashes:
I’ve tried using the plugin without the wrapper, but no success. Using plain Cordova, the plugin requires cordova-plugin-add-swift-support, but Capacitor doesn’t support it and should provide the necessary Swift support anyway.
Anyone has got this to work, or have any ideas? Getting lots of gray hair over this.