cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ViStr
Level: Powered On

Re: Barcode scanning - not working on iPhones

Hi MS!

 

Do you have plans to fix the issue in this quarter?

 

Thanks.

Viktor Strizhakov
UB400
Level 10

Re: Barcode scanning - not working on iPhones

i'm still experiencing this issue, I tried the variable "fix" but still no joy. I'm using labels printed on on a laser printer, don't know if that has a bearing on this as well? Could really do with a solution to this issue. 

JRaasumaa
Level 10

Re: Barcode scanning - not working on iPhones


@UB400wrote:

i'm still experiencing this issue, I tried the variable "fix" but still no joy. I'm using labels printed on on a laser printer, don't know if that has a bearing on this as well? Could really do with a solution to this issue. 


 

The only other "fix" I've seen to help with scanning is to ensure the camera app is not open on whatever device is being used. Typically I close all running apps then launch the scanning and it has a much higher rate of functioning.

 

We've actually abandoned the built in camera for scanning and are now just using a bluetooth scanning that simply types the code into the input field for us. It requires a few more user taps but it functions so far 100% of the time.

Microsoft Employee

Re: Barcode scanning - not working on iPhones

Hi folks,

 

  I'm sorry to hear that you all are still experiencing this issue. I've read through the thread and tried to collect a list of devices and os versions that are reproducing the issue, but I realize some of that information might be out of date now.

 

  If you're still experiencing the issue, could you provide me with the following information:

 

  • The device model you're using
  • The version of iOS that the device is running
  • The version of PowerApps being run

  I started investigating this issue earlier today, but have been unable to reproduce the problem locally. I'm currently using an iPad Mini 3, running iOS 11.1 and PowerApps 2.0.792.

 

  The app I'm using to test the barcode functionality was created using the following steps: https://docs.microsoft.com/en-us/powerapps/scan-barcode

 

  For test data, I used the following image: https://pwrappscdn.azureedge.net/mediahandler/blog/media/PowerApps/blog/af25a3ce-2e7b-491f-9df9-fa62...

 

  The app I created was able to recognize and correctly read each of those barcodes, although the Code 128 format was more finnicky than the others. I'd also be interested to know if your apps have any success trying to read the barcodes in the image provided.

Super User
Super User

Re: Barcode scanning - not working on iPhones

I run my scanning app on an iPhone 6s and an iPad mini 4, both running iOS 11.2.6 and PowerApps 2.0.792.

 

The app never scans on start, but after a suggestion in this thread (I think it was here) I have put a button that when pressed does this:

 

Set(bctType; "");;Set(bctType; BarcodeType.Code39);;Set(bctType; "");;Set(bctType; BarcodeType.Code39)

For some odd reason that resolves it, and I can use the scanner without problems. I haven't treid with other types of bar codes since we're using Code39.

 

 

UB400
Level 10

Re: Barcode scanning - not working on iPhones

@Maxwell I'm using an iPhone 7 with IOS 11.2.5 (15D60). PowerApps version is 2.0.783

 

I followed your suggestions, and had intermittent success, it would work sometimes but not consistently (even with the switching Scanning modes hack.

 

I also added a slider to experiment with Scan rates but that does not help with consistency, it's still pretty much hit or miss. 

Microsoft Employee

Re: Barcode scanning - not working on iPhones

 

@UB400@BitLord69 thanks for the additional information.

 

After some more research and testing, it looks like the barcode control isn't properly handling its initial barcode type. For instance, if I set my barcode control to have a type of Code39, it won't scan the related barcode.

 

However, if I change the barcode type and then change it back, it starts to successfully scan.

 

This is probably what's happening with the code snippet @BitLord69 posted, although the repetition should be unnecessary. I was able to get the barcode scanner working with the following code on a button:

Set(barcodeType, "");Set(barcodeType, Code39)

 

 

I also tested with two buttons that each set a different barcode type:

Set(barcodeType,Codabar)

and

Set(barcodeType,Code39)

In this case, my barcode control had its type initially set to Code39. It wouldn't scan anything until I clicked the Codabar button. At that point, it would start scanning Codabar barcodes. After that, if I clicked the Code39 button, it would start scanning Code39 barcodes.

 

I'm going to reach out to the team responsible for the barcode control and see if they're aware of this issue.

PowerApps Staff miglisic
PowerApps Staff

Re: Barcode scanning - not working on iPhones

The Controls team is investigating this and will post an update here in the next day or so. Thank you for the detailed info, Maxwell!

 

More broadly, we are planning to replace our barcode scanner implementation with one built into the native device players. It will probably be a full-screen experience to acquire a code and return it to the app. We would deprecate the present in-app JS-based implementation after that becomes avalable. Target is early summer.

 

I hope this helps.

 

UB400
Level 10

Re: Barcode scanning - not working on iPhones

@miglisic Thanks for the response, we look forward to hearing more on this issue, from your response it appears that the only real solution would be to wait for the change that mention for early Summer. I'll be following this closely. Thanks once again, and also thanks to @Maxwell for raising this issue with the Team.

MrThe
Level: Power Up

Re: Barcode scanning - not working on iPhones

Has there been any change on this?  Still having the problem.  i found that adinga slider, dropddown or radio button to switch between the types makes it seem a little more function but to get the first scan you need to change the selection.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,236)