hey,
im trying to use the capacitor QR scanner on ionic 6 react. It works fine on Android, but not on iOs (at least on an iOs emulator it doesn’t work). Anyone managed this?
import { BarcodeScanner } from ‘@ionic-native/barcode-scanner’;
const scanCode = async () => {
const data = await BarcodeScanner.scan();
};
In iOs it just hangs/nothing happens and the console says -
" To Native Cordova -> BarcodeScanner scan BarcodeScanner102680008 [“options”: []]"
Not very useful