logo
On this page

FAQ

How to configure offline push certificates two APPs

I have two different apps that need to support offline calling with each other. How should I configure them?

  1. First, you need to configure the index 2 certificate for the second app in the ZEGOCLOUD admin console.

Then, you need to set the certificateIndex of the second app to secondCertificate in the place where you initialize the ZegoUIKitPrebuiltCallInvitationService on the client side.

Untitled
await ZegoUIKitPrebuiltCallInvitationService().init(
  appID: yourAppID /*input your AppID*/,
  appSign: yourAppSign /*input your AppSign*/,
  userID: currentUser.id,
  userName: currentUser.name,
  //...
  notificationConfig: ZegoCallInvitationNotificationConfig(
    iOSNotificationConfig: ZegoIOSNotificationConfig(
      certificateIndex: ZegoSignalingPluginMultiCertificate.secondCertificate,
    ),
  ),
  // ...
)
1
Copied!

How to fix app not opening call after answering offline invite

Read Delaying Auto-entry into Offline Calls After App Launch for solution.

Warning
Please ensure that the certificates on the console correspond one-to-one with the certificateIndex in your code.

Previous

Callbacks for call invitation

Next

Screen sharing