Matisse
Matisse copied to clipboard
Camera feature is not working in Android 11
As mentioned above, nothing happens when i click on Camera.
Pixel 4 XL API 30
Have you found a solution to fix this issue?
You must add queries to your manifest file to be able to open the camera in Android 11. Add the queries after the application at the end like this:
</application>
<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
</queries>
<queries>
<intent>
<action android:name="android.media.action.VIDEO_CAPTURE" />
</intent>
</queries>
</manifest>
android.media.action.VIDEO_CAPTURE is not needed as it will enable you to capture videos by the camera, i don't think Matisse has an option to capture videos, let me know if it's possible.
You must add queries to your manifest file to be able to open the camera in Android 11. Add the queries after the application at the end like this:
</application> <queries> <intent> <action android:name="android.media.action.IMAGE_CAPTURE" /> </intent> </queries> <queries> <intent> <action android:name="android.media.action.VIDEO_CAPTURE" /> </intent> </queries> </manifest>
android.media.action.VIDEO_CAPTURE is not needed as it will enable you to capture videos by the camera, i don't think Matisse has an option to capture videos, let me know if it's possible.
This work for me! Thank you!