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

didDisplayIncomingCall event is never sent on Android

Open
#671 1 comment 3 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

On Android, the didDisplayIncomingCall event is never sent, even after calling RNCallKeep.displayIncomingCall. The docs say that this event is the callback for RNCallKeep.displayIncomingCall. In RNCallKeepModule.java, the only time this event is sent is in the reportNewIncomingCall method. This method is undocumented and does not appear to be called anywhere else in the module.

Steps to Reproduce

  1. Setup callkeep and add an event listener for the "didDisplayIncomingCall" event.
  2. Call RNCallKeep.displayIncomingCall
  3. Notice the "didDisplayIncomingCall" event never fires.

Versions

  • Callkeep: 4.3.6
  • React Native: 0.68.2
  • iOS:
  • Android: 11
  • Phone model: G91S

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 in RNCallKeepModule.java by tracing the RNCallKeep.displayIncomingCall entry point and comparing it with reportNewIncomingCall, where the issue says didDisplayIncomingCall is currently sent. Reproduce the Android steps with an event listener and verify that the event fires after displayIncomingCall completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.