react-native-webrtc / react-native-webrtc/react-native-incall-manager
Bluetooth not being recognised in iOS
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 597
- Forks
- 201
- Avg merge
- 2h 42m
- Merged PRs (30d)
- 1
Description
I'm testing this out with a bluetooth headset. All I have in my code is InCallManager.start();. With my Android device I can see that the mic is being picked up from the bluetooth device automatically. But in my iOS device the internal mic is active and not the one from the bluetooth device. I have the right permissions and have the following in my Info.plist.
<key>UIBackgroundModes</key>
<array>
<string>bluetooth-central</string>
<string>bluetooth-peripheral</string>
</array>
There's no chooseAudioRoute either. When I add it, it just throws an error [TypeError: undefined is not a function]
My device is iPhone 11 with iOS 16.6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Bluetooth headset behavior on an iPhone using InCallManager.start() and review the iOS audio-routing entry points. Check why the Bluetooth microphone is not selected and why chooseAudioRoute is unavailable; done means the headset microphone is selected reliably on iOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100