cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hardyy
New Member

BUG - Barcodescanner sets the focus for the entire App

Hi,

 

I have found an issue with the barcode scanner. Once I perform a Scan the focus of the camera is set to a document mode. If I use the camera after the barcode scanner, the camera wont focus. In my case that means that the users have to restart the app after using the scanner. 

 

Please fix this issue as soon as possible

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Again sorry for the late answer. Microsoft Support fixed this.

View solution in original post

6 REPLIES 6
Hardyy
New Member

Hi,

 

I have been building an Application using PowerApps for quite some time now and recently stumbled upon an issue where the camera focus is defaulting to a "Document Mode" where it cant focus on things that are far away. The users need to capture damage on big machines and have to have the focus of the device work for that reason (it is a new Ipad, so the device should not be an issue).

 

Somehow when I delete the cache and restart the App it seems to fix that for a little while, before it comes back.

This renders my work and my app completely useless. Is this a known issue ? I could not find anything on it anywhere.

I am using the Add Media Control, since I need high resolution Images and I turned "UseMobileCamera" on.

 

Also deleting the cache works as a fix for me as a developer, but we can't assume that the end-users of the app will be able to do so efficiently when this bug arrives. 

 

I have also tried Clearing all the Data that I save locally to the device, but that does not seem to fix it consistently.

 

I would really appreciate some help since I spend a lot of time on this project. 

 

Kind Regards

 

 

Hi @Hardyy ,

 

Where are you defining this "UseMobileCamera" feature? Could you show me the current configuration on your PowerApp of the camera control?

 

I tried to repro this in the mobile device that I have available which is an Android (Galaxy S8), but I was not able to get this behavior of the camera having the "document mode" focus, and the auto focus appeared to be working as expected.

 

Maybe this could be related with the current configuration you have on your control and where you are making changes to it.

 

 

Regards,

Ricardo 

 

 

rimatos
Microsoft
Microsoft

Hi @Hardyy ,

 

I would suggest opening a Support ticket through https://admin.powerplatform.microsoft.com/support to report this incident and for it to be investigated on our end.

 

Hope this helps!

 

Regards,

Ricardo!

 

 

Hi @rimatos ,

 

Quite sorry about the late reply but I have been quite busy. I have seen the same behavior on any IOS device that I have tested this on (IPad 7th gen, IPad  4th gen and IPhone 6).

 

I really do not think it has anything to do with my configuration of the UploadMedia-Control, since the only thing that I have changed are the following two things:

 

I've enabled "UseMobileCamera" and I have set the "OnSelect" to:

Collect(
    imgCollect;
    {
        titel: varCurrentItem.TourId;
        serial: varCurrentSerial;
        image: AddMediaButton1.Media
    }
)

 

This is about it. I've tried this with a stock configuration and a new App as well, but nothing helped.
I guess this might be an IOS compatibility issue.
Unfortunately using android is not an option.

 

 

Thank you for your time and your answers, I will open a ticket like you have mentioned.

 

Hello! I have the same problem. Did u fix this ? 

Again sorry for the late answer. Microsoft Support fixed this.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

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