Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
handleAcceptedEvent = () => {
const { setCallAccepted } = this.props;
// Sound.stop();
setCallAccepted();
RNCallKeep.setCurrentCallActive();
// RNCallKeep.startCall('12345', '65508');
};
BackgroundTimer.setTimeout(() => {
log(`[setCurrentCallActive] ${format(callUUID)}, number: ${handle}`);
RNCallKeep.setCurrentCallActive(callUUID);
}, 1000);
};