Hi there,
Unfortunately we have a new problem with the navigator.mediaDevices API and video stream, maybe someone can help.
On Andorid all packages using the mediaDevices API don’t work anymore. It seems that permissions are missing. The app doesn’t ask for permission anymore when I open a media stream and I don’t receive any images.
I did a capacitor 5 update on 15. Jun. After the update I tested all packages that use the camera, everything works fine.
Now when I jump to the commit for the update, it also doesn’t work.
When I try a commit with Capture 4 the API works and the app asks for permission.
Is it possible that there are any webView updates that’s breaks the app?
This is the permission we set in our app:
<!-- Permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />