web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Barcode Reader not wor...
Power Apps
Suggested Answer

Barcode Reader not working in specific app

(3) ShareShare
ReportReport
Posted on by

I'm trying to use a barcode reader in an app I'm building, and no matter what I do the scanner won't return any value. I'm using the following code in the 'On Scan' property of the scanner:

 

Set(barcodeValue, Text(First(BarcodeReader1.Barcodes).Value));
 
This value is initially blank, and after scanning, remains blank. To try troubleshoot the issue, I made a brand new app and tried the same method... and it worked perfectly. It's just in this one app that the reader won't return anything. Anyone have any idea how I might fix this? I've tried removing/re-adding the reader control multiple times, but with no luck. All values other than 'On Scan' are default.
Categories:
I have the same question (0)
  • Suggested answer
    IanJB Profile Picture
    93 on at
    I had this same problem come up, but for apps that had been operating successfully for months. All of my apps that use the new [not so new anymore] modern barcode reader control just stopped working. In the canvas studio the test data populates fine, but when any user tried on a mobile device nothing was returned, whether I was just trying to access the first barcode value or assigning it to a variable (like in your Set example).
     
    I noted that my old apps were still working fine - those that had ye'ol barcode scanner control. Luckly we can still access this tool in the retired settings. I just replaced the modern reader with the old scanner and everyone is back up and running. No idea why this stopped working though, which is frustrating!
     
  • jjacquet Profile Picture
    21 on at
    Seconding this with the hope of raising visibility.
     
    We are using the barcode reader control and returning values to a collection (multiple scans; code below). We don't want to rely on a retired control for this.
     
    We have some users who hit 'submit' and get both the Type and Value as expected, but others get only the Type and Value is blank.
     
    Searching everywhere for some sort of answer here.
     
    Collect(
        ScannedItems,
        btnBarcodeReader.Barcodes
    );
  • onparr24 Profile Picture
    23 on at
    I am also experiencing issues with the barcode reader. I have 50+ users and have been using the barcode reader without any issues until today. It seems to be sporadically working. Any suggestions are welcome!
  • Suggested answer
    NP-02081205-0 Profile Picture
    2 on at
    We have just found that this only effected users that installed Powers Apps on devices on the 1 Aug 2024. Removing and reinstalling the app on each device solved this issue. This also works if you run the update now avalible for Power Apps in the devices app store.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard