react-native-webrtc / react-native-webrtc/react-native-callkeep
Android - Receiving incoming call from firebase push notification
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 511
- Avg merge
- 9h 12m
- Merged PRs (30d)
- 2
Description
Hi, we are using RNCallkeep for integrating our webrtc calls. When a caller starts a call, we send a request to our backend server and then we receive a response from firebase with the required payloads.
For Ios, we are calling this method from AppDelegate.m reportNewIncomingCall and which is making the incoming call work.
For android, we are receiving the incoming push notification in onMessageReceived method. But after that we are not receiving any callback in our react native js code. How to solve this issue ? Is there anything similar to reportNewIncomingCall in android ?
We want to handle the scenario of receiving incoming call in foreground, background and Quit state.
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 with the Android onMessageReceived path and compare it with the AppDelegate.m reportNewIncomingCall path described in the issue. Trace how the Android notification should reach React Native JavaScript, then verify the expected behavior in foreground, background, and quit states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, firebase, java, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100