iakmds / librecamera

A free and open source camera app for Android written in Flutter and Dart
https://f-droid.org/packages/com.iakmds.librecamera/
GNU General Public License v3.0
267 stars 26 forks source link

[Bug] LibreCamera doesn't open from other apps #82

Open Cwpute opened 8 months ago

Cwpute commented 8 months ago

Describe the bug When any third party app needs to use the camera, the action in them that would open the camera doesn't work. It might be either of these two:

  1. LibreCamera isn't recognized as the default camera app, and no other app is available.
  2. LibreCamera starts but crashes. Although there is no black screen or no hint

Other Information:

Cwpute commented 8 months ago

Witnessed in Discord, Signal, Champignouf… and a good bunch of other apps.

spaetz commented 6 months ago

Cinfirmed when using the conversations (xmpp) app. Claims no camera is installed.

k3b commented 3 months ago

Unfortunately this is a "security feature" that google introduced with android 11.

For details see https://stackoverflow.com/questions/71338593/action-image-capture-how-to-whitelist-a-different-camerapp-in-android-11-and-la and https://github.com/k3b/CameraFolder/issues/5