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 crashes...
Power Apps
Answered

Barcode reader crashes app

(2) ShareShare
ReportReport
Posted on by 32

Hi,

 

I've built a simple app that scans barcodes and sends them on to a flow, which then writes them into a list.

 

I'm still looking to add some minor features but in testing it has worked fine so far. Since today however, starting the barcode scanner (selecting the control in the app) has a high risk of crashing the app (on mobile, Android). It will usually run fine for the first scan and then crash the 2nd or 3rd time the scanner is used, though on the 1st has happened too. Sometimes it will show "Powerapps has crashed because the app has a bug.", though not always.

I've tried to run the monitor to find out what causes this. However, whether the barcode reader works or crashes the app, it's not recorded in the monitor, it will just show the app loading on the next start-up.

 

In absence of useful monitor data I've played around and it looks like having scan mode set to "Scan multiple" influences it, as I didn't get crashes when scan mode is on 'select to scan' or autoscan - though it may just be less likely. Of course, 'scan multiple' is the behaviour I need.

 

Is there any ways to troubleshoot the scanner better, or are there some experts here who may be able to help?

 

 

 

 

Categories:
I have the same question (0)
  • sadf Profile Picture
    2 on at

    Got the exact same issue here, and reported it yesterday. This is heavily impacting the use of the app. If anyone finds a solution, then please post it. 
    I also tested with IOS, same issue there, although it can scan a few more items before it crashes. Have not yet tried with "select to scan" or "autoscan". 

  • Verified answer
    Unaudited7237 Profile Picture
    32 on at

    I've made a copy of my app (when editing, click on the arrow by save symbol, then save a copy), which has fixed it for me.

  • Eliasbid Profile Picture
    3 on at

    I'm having the same issue yet saving a copy and using it doesn't resolve the problem.

  • 55552 Profile Picture
    674 on at

    Same issue here, scan is set to automatic, works on iOS, but crashes occurring on Androids, both phones and tablets. Any solutions other than the one noted above, which has not worked for all users.

  • 55552 Profile Picture
    674 on at

    Just curious if you have had any crashing issues since you did the Save As.  I have the same issue and may try your solution also.

  • jimboer Profile Picture
    6 on at

    Option "Clear cache" in Power App on android device solved problem for me

    jimboer_1-1706792301402.png

     

  • Mor1 Profile Picture
    9 on at

    Same issue on iOS app. Have tried the items mentioned above. Also have set to Automatic as well as limit the type of Barcode. Works fine but on third or fourth scan the camera screen freezes. Any ideas would be welcome

  • Verified answer
    Mor1 Profile Picture
    9 on at

    Just an update, I set the Scan Quality from automatic to low and since then I have had no locks on frozen screens

  • Unaudited7237 Profile Picture
    32 on at

    No, I haven't had any issues since re-saving the app

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard