There's a new home for Articles. Find Articles on Our Product Support Page.
Hi everyone, I'm working on an application using Snap that involves scanning QR codes. The goal is to check if a scanned QR code matches a predefined value and then use that value to update a global variable via a textbox. This approach is working well on iOS, but I'm encountering an issue on Android where the scanned value seems to reset before it can be applied to the textbox. Does anyone have suggestions on how to address this problem? I suspect it might be related to how barcode scanning and data handling differ between iOS and Android. Here are the steps I've taken so far: Checked the settings of the barcode widget, especially on Android, to ensure they are configured correctly. Experimented with introducing a small delay (e.g., a few hundred milliseconds) after scanning the barcode before setting the textbox value. Used debugging techniques to track the value of the scanned barcode at different stages of the application's workflow. Reviewed event handling to ensure that barcode scanning events are properly sequenced and handled. I would appreciate any insights or suggestions from those who have experience with barcode scanning and app development on Android. Thank you!
Hello, The barcode widget doesn't have the events tab enable. How can I use the barcode to search items in a list, for example? Thank you
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points