Skip to content

Commit 091b012

Browse files
authored
fixed microphone muting on background in Android 14 (#729)
1 parent c9bffdb commit 091b012

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/stream_video_flutter/android/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="io.getstream.video.flutter.stream_video_flutter">
33
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
4+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
45
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
56
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
67
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
@@ -9,7 +10,7 @@
910
<application>
1011

1112
<service android:name=".service.StreamCallService"
12-
android:foregroundServiceType="phoneCall"
13+
android:foregroundServiceType="microphone|phoneCall"
1314
android:exported="false" />
1415

1516
<service android:name=".service.StreamScreenShareService"

0 commit comments

Comments
 (0)