react-native-callkeep icon indicating copy to clipboard operation
react-native-callkeep copied to clipboard

[Android] After accepting an incoming call I can't switch to Bluetooth

Open adsalihac opened this issue 2 years ago • 4 comments

Bug report

  • [ ] I've checked the example to reproduce the issue.

  • Reproduced on:

  • [x] Android

  • [ ] iOS

Description

Steps to Reproduce

  • I used a customized incoming call package for android.
  • self-managed: true in android option.
  • after accepting the call. mobile phone ringtone sound is stopped. but the Bluetooth headset ringing is not stopping.
  • it is working fine in outgoing calls.

Versions

- Callkeep: 4.3.3
- React Native: 0.68.2
- Android: 11 and above.
- Phone model:  Poco X3

Logs

Paste here

adsalihac avatar Aug 04 '22 19:08 adsalihac

same

iim-norse avatar Jun 14 '23 08:06 iim-norse

Same here. In my case it is showing this in the logs:

image

I'm working in self-managed mode and when I report an incoming call the ringtone doesn't start on the Bluetooth device. It works for outbound calls and all Bluetooth permissions are set.

Samsung - Android 12

mariouzae avatar Oct 28 '23 01:10 mariouzae

hey @mariouzae did you manage to solve this for you?

wilmxre avatar Nov 08 '23 09:11 wilmxre

@wilmxre, not yet, but it works for versions prior to Android 11. I was trying to call the native function startBluetoothSco from AudioManager before calling addNewIncomingCall and it works intermittently, it seems the Bluetooth SCO takes a few seconds to connect and sometimes it fails to connect.

mariouzae avatar Nov 09 '23 13:11 mariouzae