Any example integrating react-native-webrtc and react-native-incall-manager

Any example integrating react-native-webrtc and react-native-incall-manager ?

I was able to successfully get the basic react-native-webrtc video/audio connectivity established and just want assistance with sample codes on in-call manager integration.

You can just import the library:

import InCallManager from "react-native-incall-manager";

and then start/stop it in e.g. componentDidMount() and componentWillUnmount() methods:

componentDidMount() {
    InCallManager.start();
    InCallManager.setKeepScreenOn(true);
    InCallManager.setForceSpeakerphoneOn(true);
}

componentWillUnmount() {
  InCallManager.stop();
}

Thank You for the sample code.