I used the popup boolean variable to track if the user scanned a qr code or not. If they didn't scan a qr code, then I set popup to false, else I set it to true. When popup is true, the scanner works like normal. When popup is false, the app doesn't show a loading indicator, doesn't show a popup dialog, and doesn't make any network requests. When popup is set to false, the scanner does nothing.
Solves issue #20
I used the
popup
boolean variable to track if the user scanned a qr code or not. If they didn't scan a qr code, then I setpopup
to false, else I set it to true. Whenpopup
is true, the scanner works like normal. Whenpopup
is false, the app doesn't show a loading indicator, doesn't show a popup dialog, and doesn't make any network requests. Whenpopup
is set to false, the scanner does nothing.