react-native-webrtc / react-native-webrtc/react-native-callkeep
In Android i can't display incoming call screen
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
Hi, first of all thank you for this great library. I want to display incoming call screen on iOS and Android.
So i tried to do the code below in my home screen in componentDidMount method just to test.
const options: IOptions = {
ios: {
appName: "My app name"
},
android: {
alertTitle: "Permissions required",
alertDescription: "This application needs to access your phone accounts",
cancelButton: "Cancel",
okButton: "ok",
additionalPermissions: []
}
};
RNCallKeep.setup(options).then(accepted => console.log("RNCallKeep accepted", accepted));
RNCallKeep.setAvailable(true);
RNCallKeep.displayIncomingCall(
"c5612146-3e43-4922-bdf2-13b0c2cb2243",
"5558909659",
"Some User",
undefined,
true
);
So i'm expecting to see native incoming call screen. In iOS it just works but in Android i don't see anything. No incoming call screen, no errors, no success. What am i doing wrong here?
Also i tried your exemple in my Android device and same thing happened there too. I dont seen any incoming call screen in Android.
Versions
- Callkeep: "^3.0.10"
- React Native: "0.61.5"
- iOS:
- Android: 10 (One UI 2.0)
- Phone model: Galaxy S9
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 issue with the repository's example on Android 10 and compare it with the reported calls to RNCallKeep.setup, setAvailable, and displayIncomingCall. Check whether the Android example displays an incoming call screen on a Galaxy S9; done means identifying the cause and confirming the screen appears without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, 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