Closed HannHank closed 4 years ago
what error do you get?
Sorry I forgot to close that issue, the issue was, that the Qrcode had a speace at the End. So in ther Terminal "1" and "1 " looks the same, but it isn't :). So for anyone you have the same Problem with string comparison, checking the length of the String, might be a good idea.
i cannot compare the value barcode, with a simple String.
String barcode = await BarcodeScanner.scan(); if(barcode == '1'){
I do not know why, but if I log the qrcode in the Terminal it show "1" so it have to be true, but the code do not go inside, that if statement.thanks in advanced