How to use the react-native-callkeep.setCurrentCallActive function in react-native-callkeep

To help you get started, we’ve selected a few react-native-callkeep examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cern-phone-apps / desktop-phone-app / mobile / src / calls / providers / PhoneProvider / PhoneProvider.js View on Github external
handleAcceptedEvent = () => {
    const { setCallAccepted } = this.props;
    // Sound.stop();
    setCallAccepted();
    RNCallKeep.setCurrentCallActive();

    // RNCallKeep.startCall('12345', '65508');
  };
github react-native-webrtc / react-native-callkeep / example / App.js View on Github external
BackgroundTimer.setTimeout(() => {
      log(`[setCurrentCallActive] ${format(callUUID)}, number: ${handle}`);
      RNCallKeep.setCurrentCallActive(callUUID);
    }, 1000);
  };