logo
In-app Chat
SDK Error Codes
Powered Byspreading
On this page

ZPNs upgrade guide


This article introduces some instructions and considerations for upgrading the ZPNs React Native framework SDK version.

2.6.0 Upgrade Guide

ZPNs 2.6.0 separates CallKit and makes it a separate plugin. If your project uses an older version of ZPNs, you need to integrate the zego-callkit-react-native plugin additionally to achieve compatibility after the upgrade.

  1. Import the zego-callkit-react-native plugin.

    Developers can use npm to obtain the SDK.

    Go to the root directory of your project and execute the following command to install the dependencies.

    Note

    npm package download supports TypeScript (recommended).

npm
yarn
   npm i zego-callkit-react-native
1
Copied!
   yarn add zego-callkit-react-native
1
Copied!
  1. Remove the obsolete Callkit dependency and rely on the new header files to achieve compatibility after the upgrade.
Untitled
import CallKit from 'zego-callkit-react-native';
1
Copied!

Previous

ZIM upgrade guide

Next

Authentication