You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2023. It is now read-only.
I'm wondering if this could the cause of an issue I am seeing
QRScanner is working fine for the 1st scan. User then moves onto other screens. If the user needs to perform a new scan but has NOT restarted the app then all they get is a white screen when the app navigates back to the screen that renders the QRSCanner. If app has been restarted then the QRScanner works perfectly
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
const PosBarcodeScan = React.forwardRef(({ onBarcodeScanned, onDismiss }, ref) => {
//
/** call from outer with {ref} */
useImperativeHandle(ref, () => ({
reactivate: () => {
qrcodeScannerRef.current.reactivate();
},
}));
})
What's happening?
qrcodeScannerRef.current.reactivate()
How can it be reproduced?
Build details?
The text was updated successfully, but these errors were encountered: