I have a camera widget that I use to snap images of documents. Everything works fine in the web app, but when I switch to the desktop version I have to minimize the app then maximize it to get an image to display.
There are two cameras on the device so I set the Camera property of the widget to "Cam" and set "Cam" to 0 on the AppStart using:
Then I can change the camera using another button where the OnSelect action has the following code:
I run it in my browser and it works fine, then I close everything and only open the power app and the camera initially just shows a white screen. I minimize the app and then maximize it for the image to show up. If I switch the Cam to 1 it just shows a black screen and when I switch it back to 0 I have to again minimize and maximize the app for it to show.
I've checked my permissions and everything has access to the camera and I've ensured to run the desktop version with the online one closed.
I've tested this on both a Windows 10 Dell Inspiron and a Windows 10 Dell Tablet.