Skip to content

Function: registerVoIPPush() ​

ts
function registerVoIPPush(): void;

Defined in: Calls.ts:865

Registers for VoIP push notifications.

Call this early in your app lifecycle to receive VoIP push notifications for incoming calls. Once registered, the device token will be available via getVoIPPushToken and token updates will be emitted via addVoIPPushTokenUpdatedListener.

Returns ​

void

Example ​

typescript
// Register early in app initialization
registerVoIPPush();

// Listen for token updates
addVoIPPushTokenUpdatedListener((event) => {
  if (event.token) {
    // Send token to your backend
    sendTokenToBackend(event.token);
  }
});

See ​