Rate this page:

Making calls

Making calls

Making calls

In React Native, there is a difference between resolving the Client.call promise and handling Voximplant.CallEventTypes.

If the promise is resolved, the SDK sends a call to the cloud. However, it doesn't mean that a call is connected; to catch this call state, subscribe to the CallEvents.Connected event.

If the promise is rejected, that indicates the issues in the application's code (e.g., a try to make a call without login to the Voximplant cloud); if the CallEvents.Failed event is triggered, which means a telecom-related issue (e.g., another participant rejects a call).