Hi
I have installed the npm package:
meteor npm install --save cordova-plugin-qrscanner2
According to the docs, the object QRScanner should be available. But it looks unavailable.
Then I have tries importing:
import QRScanner from ‘cordova-plugin-qrscanner2’;
and requiring it:
var QRScanner = require(‘QRScanner’);
I always get the same error:
ReferenceError: Can’t find variable: QRScanner
Of course I am running the cordova build on device.
What am I doing wrong?
Thanks
Michael