react-native-webrtc / react-native-webrtc/react-native-callkeep
Outgoing call without sim-card in Android
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 511
- Avg merge
- 9h 12m
- Merged PRs (30d)
- 2
Description
Bug report
When i create outgoing call on my test android without sim he show error "Not registered on network."
How i can create call without sim only in wifi-network? i try selfManaged no result
The incoming call was created without errors.
when the flight mode is on, it asks to turn it off... how can I avoid this if I only make calls via the Internet without using a SIM card?
- Reproduced on:
- Android
Description
Steps to Reproduce
Code like example
const displayOutgoingCallNow = () => {
const number = getRandomNumber()
const callUUID = getNewUuid();
addCall(callUUID, number);
log(`[displayOutgoingCallNow] ${format(callUUID)}, number: ${number}`);
RNCallKeep.startCall(callUUID, number, number);
BackgroundTimer.setTimeout(() => {
log(`[setCurrentCallActive] ${format(callUUID)}, number: ${number}`);
RNCallKeep.setCurrentCallActive(callUUID);
}, 1000);
};
Versions
- Callkeep: 4.3.9-4.3.15
- React Native: 0.75.4
- Android: android 9
- Phone model: samsung galaxy s8
- Phone number is Unknown because it hasn't sim-card
Logs
2024-12-11 10:55:11.970 26494-26894 RNCallKeep app.com D [RNCallKeepModule] setup : {"okButton":"ok","selfManaged":true,"cancelButton":"Cancel","alertDescription":"This application needs to access your phone accounts","alertTitle":"Permissions required"}
2024-12-11 10:55:11.970 26494-26894 RNCallKeep app.com D [RNCallKeepModule] setSettings : {"okButton":"ok","selfManaged":true,"cancelButton":"Cancel","alertDescription":"This application needs to access your phone accounts","alertTitle":"Permissions required"}
2024-12-11 10:55:11.973 26494-26894 RNCallKeep app.com D [RNCallKeepModule] API Version supports self managed, and is enabled in setup
2024-12-11 10:55:11.973 26494-26894 RNCallKeep app.com D [RNCallKeepModule] setup, adding RECORD_AUDIO in permissions in self managed
2024-12-11 10:55:11.973 26494-26894 RNCallKeep app.com D [RNCallKeepModule] setSettings : {"okButton":"ok","selfManaged":true,"cancelButton":"Cancel","alertDescription":"This application needs to access your phone accounts","alertTitle":"Permissions required"}
2024-12-11 10:55:11.974 26494-26894 RNCallKeep app.com D [RNCallKeepModule] registerPhoneAccount
2024-12-11 10:55:12.093 26494-26894 RNCallKeep app.com D [RNCallKeepModule] registerEvents
2024-12-11 10:55:12.093 26494-26894 RNCallKeep app.com D [RNCallKeepModule] startObserving, event count: 0
2024-12-11 10:55:12.093 26494-26894 RNCallKeep app.com D [RNCallKeepModule] startObserving, event count: 0
2024-12-11 10:55:15.836 26494-26894 RNCallKeep app.com D [RNCallKeepModule] startCall called, uuid: 82468110-e5af-4f4f-b81e-5e37b282ef71, number: 31407, callerName: 31407
2024-12-11 10:55:15.837 26494-26894 RNCallKeep app.com D [RNCallKeepModule] startCall, uuid: 82468110-e5af-4f4f-b81e-5e37b282ef71
2024-12-11 10:55:17.363 26494-26894 RNCallKeep app.com D [RNCallKeepModule] setCurrentCallActive, uuid: 82468110-e5af-4f4f-b81e-5e37b282ef71
2024-12-11 10:55:17.363 26494-26894 RNCallKeep app.com W [RNCallKeepModule] setCurrentCallActive ignored because no connection found, uuid: 82468110-e5af-4f4f-b81e-5e37b282ef71
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 RNCallKeep.startCall entry point and the Android self-managed setup shown in the report, then reproduce the outgoing-call behavior without a SIM and in flight mode. Compare it with the reported successful incoming call; done requires establishing whether this scenario is supported and documenting or correcting the behavior accordingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript, react-native
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100