cancel
Showing results for 
Search instead for 
Did you mean: 

Improve barcode scanning capability

The ability to scan barcodes in PowerApps has the capability to revolutionize a lot of our processes, but we frankly need the barcode scanning functionality to be stronger/more robust before we can implement.

 

Official guidance states that barcodes should be at least 1" high, but that simply isn't feasible in a lot of printed barcode situations, especially on identification. We would love to implement PowerApps to scan student ID cards for logging and attendance, but the barcodes don't fit the size requirements and a mobile PowerApps app can't scan them, at least on an iPhone 7. 

 

However, using other 3rd party apps (including QR Reader for iPhone, made by TapMedia Ltd) for testing purposes shows no difficulty at all in scanning the same barcode. Indeed, the app is able to correctly read the barcode before the camera can even focus on it.

 

I'm including a screenshot of the app showing the barcode that can't be read (with a redaction box for sensitive information). The yellow box actually flickers around the barcode and will often encompass it perfectly, but can't hold on to it for longer than a frame, it seems. 

 

Anyway, I'm obviously ignorant of the technical limitations, but since I know through other apps that better barcode scanning can be done, it would be great to see it improved within PowerApps.

 

Thanks!

 

EDIT: Site seemed to not like my screenshot so I'm uploading a new one.

 

barcodescreenshot.jpg

 

Status: Completed

The new Barcode scanner control is out, and we recommend it to anyone who needs to scan a barcode, QR code or data matrix codes on their mobile devices.

 

The performance is in line with modern barcode scanning apps on your mobile devices.

 

A couple of notes:

  1. Old barcode scanner control has been renamed to Web barcode scanner.  It is disabled by default and can be enabled in the experimental features settings.  We are keeping it around as it is currently the only way to scan barcodes in a web browser.
  2. The ScanBarcode function has been removed from experimental properties.  The function will still work for existing apps, but those apps should be updated to use the new Barcode scanner control.  It is the same functionality underneath, and it will store the value for you in the control, so it should be easier to use than the function.
Comments
Level 8
I tried :S as in barcode:scanbarcode but it gives errors too
Level 8
: S
Level 8
So that seems to be the smiley but it gives errors. Tomorrow i will post the specifics
Level 8
Test Barcode:Scanbarcode
Level 8
Yep its : S
Level: Powered On

Solved! Thanks! To avoid missunderstanding I will share it with everyone else in two lines (no spaces in between) so it doesn't convert it into an smilie..

 

UpdateContext({barcode:

ScanBarcode()})

Level 8
Dani you try it in the app yet?
Level: Powered On

I did, and it works! although my app it's 1D based so I didn't try 2D like..

PowerApps Staff

The steps, once again are:

1.	Create an app with TextInput and Button controls
2.	Set Button1.OnSelect = UpdateContext({barcode: ScanBarcode()})
3.	Set TextInput1.Default = barcode
Level: Power Up

Hi 

 

Is there any update on when we should see an update to the scanning capability for android devices? We have an app which is awaiting implementation, however the scanning function is nottisf reliable enough on powerapps.