You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On Android, it seems BluetoothManager does not release control of bluetooth when stop() is called by AudioManager. The app has to be closed (for example by force) to release control of bluetooth to other apps.
To Reproduce
In example application on Android if you make a loopback call with bluetooth, hang up and go back and then switch to other application, audio is still in call mode.
In my application I dispose everything and stop it all which results in not being able to use any audio in other apps (while BT is on) unless I force quit the app.
Expected behavior
App should let other apps control bluetooth.
Platform information
Flutter version:
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-arm, locale da-DK)
• Flutter version 1.22.5 at /Applications/Development/flutter
• Framework revision 7891006299 (5 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/huulbaek/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/huulbaek/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/huulbaek/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[!] Android Studio
• Android Studio at /Applications/Android Studio 4.2 Preview.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[✓] Connected device (1 available)
• Pixel 3 (mobile) • 8B6X14DMU • android-arm64 • Android 11 (API 30)
! Error: Marvin - iPhone is not connected. Xcode will continue when Marvin - iPhone is connected. (code -13)
! Doctor found issues in 2 categories.
Plugin version: Master
OS: Android
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
On Android, it seems BluetoothManager does not release control of bluetooth when stop() is called by AudioManager. The app has to be closed (for example by force) to release control of bluetooth to other apps.
To Reproduce
In example application on Android if you make a loopback call with bluetooth, hang up and go back and then switch to other application, audio is still in call mode.
In my application I dispose everything and stop it all which results in not being able to use any audio in other apps (while BT is on) unless I force quit the app.
Expected behavior
App should let other apps control bluetooth.
Platform information
The text was updated successfully, but these errors were encountered: