cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PAuser275
Regular Visitor

Barcode scanning - not working on iPhones

Hi there, 

 

I've created an app with the Barcode control. I did a bit of testing on the Surface Pro and it works well with the back camera.

 

I've tried to open the app on the iPhone and the auto detection rectangle doesn't appear. Tested on iPhone 5S, 6S, and 7. I've also noticed that the camera doesn't adjust its focus.

 

Any idea where I might be going wrong?

 

Thanks

29 REPLIES 29

Still looking for an update on this @v-yamao-msft

Hi all, this should be fixed in version 690 which was just released. Are you still experiencing the problem?

 

 


@miglisic wrote:

Hi all, this should be fixed in version 690 which was just released. Are you still experiencing the problem?

 

 


 

Yes, the problem still exists. 

Any update from Microsoft on this at all? When can we expect that this is resolved? 

Works like a charm on all Android devices, but not on iPhone 6s or iPad mini, both running IOS 11.2. Tried different sizes and settings to no avail.

 

Any feedback when this will work in IOS devices?

We're back to having intermittent issues with the scanner working.


One "fix" that sometimes seems to help is to set the BarCode type as a variable and change it to blank and back to the type over and over to force it to work.

 

For example:

 

I have a "Start" button that has OnSelect set to:

 

UpdateContext({BarType: ""});UpdateContext({BarType: Code128});UpdateContext({BarType: ""});UpdateContext({BarType: Code128})

And the BarCode screens' "Barcode type" is set to BarType variable.

 

When pushed it 80-90% of the time refreshes that screens barcode scanning and it works. Definitely not reliable enough to use in a production environment though.

Thanks for the tip, @JRaasumaa! I put the button in my app, and when pressed, usually only once, the app can scan even on my IOS devices. How very odd that it solves the problem!

 

Hope MS can fix it soon, even if given their track record on bug fixing, I think it will still be a long wihle.

@JRaasumaa, do you know if there's a way to detect what kind of device the app is running on? It would be nice to hide the button refreshshing the variables when the app is not run on an IOS device (in my app I namned it iPhone :p)


@BitLord69 wrote:

@JRaasumaa, do you know if there's a way to detect what kind of device the app is running on? It would be nice to hide the button refreshshing the variables when the app is not run on an IOS device (in my app I namned it iPhone :p)


 

From what I've been able to see there isn't yet. There's no harm in having the button there and clicking it on other platforms from what I've seen though, I even had it run OnVisible on a few screens without a problem on PC or iOS.

I agree, there's no harm, but it's not nice either to have a button that you don't need for other platforms. Luckily, we in the IT-department all have Android phones; only I have tow IOS deviced for reference and testing.

 

Hopefully MS will get their stuff together and fix the problem so we don't have to have the workaround.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (2,415)