Skip to content

Commit

Permalink
fix: Add MODIFY_AUDIO_SETTINGS to allow bluetooth sco
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzel394 committed Oct 22, 2023
1 parent 689d830 commit 7b2df0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- Required for Bluetooth microphones -->
<uses-permission
android:name="android.permission.MODIFY_AUDIO_SETTINGS"
android:maxSdkVersion="30" />

<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />

Expand Down Expand Up @@ -39,7 +43,9 @@
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<service android:name=".services.AudioRecorderService" android:foregroundServiceType="microphone" />
<service
android:name=".services.AudioRecorderService"
android:foregroundServiceType="microphone" />

<!-- Change locale for Android <= 12 -->
<service
Expand Down

0 comments on commit 7b2df0a

Please sign in to comment.