Hello everyone.
I'm developing a PowerApp application which is intended to run on a mobile and it's main purpose is to use device's camera to make photos and upload to SharePoint. I'm using AddMediaWithImage ("Media -> Add picture") control and while it works ok, I cannot make it use a camera by default. When clicking on it - it asks every single time "Do you want to 1) use camera or maybe 2) browse for files?". I don't want to browse for files, and don't want that option. When taking multiple photos it is really tedious to go through that dialog every single time.
I've found a setting "UseMobileCamera" which by default is "false", and set it to true (info from MicrosoftDocs: "Whether to use a mobile camera directly, when available"). Doesn't work, still asks me.
Then I thought, what if I disallow usage of files and only allow camera? Well, it goes straight to file browser and allows me select a file! Yes, you're reading it right. I cannot use camera anymore too, only browse files. The camera starts to work again when I add the permission for storage again. I've triple-checked that and debugged with other person if I'm not confusing things.
I don't want to use "Media -> Camera" control, because "Media -> Add picture" is superior in my opinion.
I'm actually pretty confused. Right now my test application consists only of AddMediaWithImage control and the behaviour is as described. PowerApps from Google Play Store are in the latest available version, I'm using an Android11 phone.