cordova-plugin-qrscanner
cordova-plugin-qrscanner copied to clipboard
Type 'QRScannerOriginal' is not assignable to type 'Provider'.
Type 'QRScannerOriginal' is not assignable to type 'Provider'. Type 'QRScannerOriginal' is missing the following properties from type 'FactoryProvider': provide, useFactory [2322]
Change the import path to
import { QRScanner } from '@ionic-native/qr-scanner/ngx';
Both at the app.module.ts and the page you want to use it.
Thank you @scnaonao!