react-native-webrtc / react-native-webrtc/react-native-callkeep

Android 11 - setting RNCallkeep.setCurrentCallActive(uuid) causes the native call state to update in self Managed mode, but it should not.

Open
#723 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
511
Avg merge
9h 12m
Merged PRs (30d)
2

Description

Bug report

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

  • Reproduced on:

  • [*] Android

  • iOS

Description

In Android 11, setting RNCallkeep.setCurrentCallActive(uuid) causes the native call state to update in self Managed mode, but it should not.

Steps to Reproduce

I am using react-native-callkeep
library to handle my VOIP calls and GSM calls interoperability in my react native application.

Have followed this installation and setup guide for RNCallkeep and some chunks of this example for the implementation.

Also using react-native-call-detection for getting the native call states, to do some action on existing VOIP calls in case of native call interruptions.

However, in Android 11, setting RNCallkeep.setCurrentCallActive(uuid) causes the native call state to update in self Managed "true" mode, but it should not.

Versions

- Callkeep: 4.3.1
- React Native: 0.62.3
- Android: 11
- Phone model: all

Logs

Paste here

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the example and docs/android-installation.md, then trace RNCallkeep.setCurrentCallActive(uuid) through the Android implementation while reproducing on Android 11 in self Managed mode. Done means the native call state no longer changes when this method is used in self Managed mode; the issue provides no logs or test file, so reproduction and regression coverage must be established first.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.