8000 Use forked version of audio switch to avoid BLUETOOTH_CONNECT (#1218) · ashishcors/flutter-webrtc@243eaf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 243eaf9

Browse files
authored
Use forked version of audio switch to avoid BLUETOOTH_CONNECT (flutter-webrtc#1218)
* Use forked version of audio switch to avoid BLUETOOTH_CONNECT * Remove bluetooth_connect permission from readme
1 parent 83f670c commit 243eaf9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ If you need to use a Bluetooth device, please add:
8787
```xml
8888
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
8989
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
90-
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
9190
```
9291

9392
The Flutter project template adds it, so it may already be there.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ android {
5050

5151
dependencies {
5252
implementation 'com.github.webrtc-sdk:android:104.5112.05'
53-
implementation "com.twilio:audioswitch:1.1.5"
53+
implementation 'com.github.davidliu:audioswitch:c498d866c57f1d88056d5e7e7a78d622e3b0c046'
5454
implementation 'androidx.annotation:annotation:1.1.0'
5555
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
5656
}

0 commit comments

Comments
 (0)
0