Always Returning false on RNCallKeep.setup
See original GitHub issuei always got false retrun on my RNCallKeep.setup, how to fix it?
Here’s my code
export const initBgSIPService = () => {
const getNewUUID = () => uuid.v4().toLowerCase();
setup = () => {
const options = {
ios: {
appName: 'ReactNativeWazoDemo',
imageName: 'sim_icon',
supportsVideo: false,
maximumCallGroups: '1',
maximumCallsPerCallGroup: '1',
},
android: {
alertTitle: 'Permissions Required',
alertDescription:
'This application needs to access your phone calling accounts to make calls',
cancelButton: 'Cancel',
okButton: 'ok',
imageName: 'sim_icon',
additionalPermissions: [PermissionsAndroid.PERMISSIONS.READ_CONTACTS],
},
};
RNCallKeep.setup(options).then((data) => {
console.log(data)
RNCallKeep.displayIncomingCall(getNewUUID(), '203');
}).catch((err) => {
console.log(err)
});
RNCallKeep.setAvailable(true); // Only used for Android, see doc above.
};
setup()
// endpoint.addListener('call_received', (call) => {
// // console.log(call);
// const callUUID = getNewUUID();
// RNCallKeep.displayIncomingCall(callUUID, '203');
// });
};
i’m trying to console.log(data) and that’s always returning false
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:7
Top Results From Across the Web
React Native CallKeep isCallActive using CXCallObserver
I am unable to understand why is this happening. EDIT: How does hasConnected work? Even though i have accepted the call it always...
Read more >How to use the react-native-callkeep.setup function in ... - Snyk
To help you get started, we've selected a few react-native-callkeep.setup examples, based on popular ways ... useState(false) const sendRTCMessage = Apollo.
Read more >wazo-pbx - Bountysource
After installation, I requested calling account permission then enable it. ... displayIncoming Call Not Working, hasPhoneAccount returns false. $ 0.
Read more >React Native CallKeep utilises a brand new iOS 10 framework ...
Setup. import RNCallKeep from 'react-native-callkeep'; const options = { ios: ... It will return false if the call does not exist or has...
Read more >reconnect-react-native-callkeep - npm
Setup. import RNCallKeep from 'react-native-callkeep'; ... It will return false if the call does not exist or has not been answered.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
bump
Yes , still exists