Browse SDKs · React Native
Platform
SDKsReact NativeEnterprise

Restore a pending call invitation

Recover pending incoming call invitations upon app launch or resume with the OpenIM React Native SDK.

Copy

When the application cold starts or resumes from the background in response to a VoIP notification, retrieve any pending call invitations that remain unhandled:

const { invitation, offlinePushInfo } =
  await OpenIMSDK.getSignalingInvitationInfoStartApp();

Return value

Resolves to an object containing pending invitation data:

FieldTypeDescription
invitationRtcInvite or nullThe pending call invitation, or null if no active invitation exists.
offlinePushInfoOfflinePushThe offline push configuration bundled with the invitation.

When invitation is not null, use the invitation data to render the incoming call screen and identify the room via roomID. Subsequent cancellation, timeout, acceptance, or hang-up updates are delivered through events documented in Handle call events.