SDKsReact NativeEnterprise
Restore a pending call invitation
Recover pending incoming call invitations upon app launch or resume with the OpenIM React Native SDK.
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:
| Field | Type | Description |
|---|---|---|
invitation | RtcInvite or null | The pending call invitation, or null if no active invitation exists. |
offlinePushInfo | OfflinePush | The 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.
Was this page helpful?