Closed james-cohen closed 4 weeks ago
The issue may be due to the checkPermissions method in DailyNativeUtils.java - both camera and mic permissions seem to be requested regardless
Hi @james-cohen, thank you for reporting this. We were able to replicate the issue and plan to fix it before our next release. I’ll let you know once it's ready.
This issue has been fixed in react-native-daily-js
version 0.70.0.
In order for it to properly work, the AndroidManifest.xml
:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA"/>
foregroundServiceType
should NOT include camera
.
Expected behavior
Create a call object for an audio only call, microphone permissions only are requested
Describe the bug (unexpected behavior)
Camera permissions are requested even thought video source is false
Steps to reproduce
Create new audio only call object on an Android device as described in guide:
Camera permissions modal appears, sometimes before and sometimes after mic permissions
System information
* Device: Samsung Galaxy Z Flip 5 * OS, version: Android 14 * Browser, version: React Native