Documentation
DocsView File Sharing
Documentation
Demo APP
SDK Center
API Center
FAQ
Code Market
Console
Sign Up
Log In
中文站 English
  • Documentation
  • File Sharing
  • Quick Starts
  • Integration

Integration

Last updated:2022-03-22 13:06

1 Prerequisites

  • ZegoDocsView SDK has been downloaded.
  • Please go to ZEGO Management Console to register an account and apply for the AppID and AppSign required to initialize the SDK. Please refer to Project Management for the application process.

The current SDK only supports Electron 5.x.x version.

2 Compatibility Description

The operating systems currently supported by the SDK are as follows:

Platform Remarks
Windows ✓, compatible with Windows 7 and above
macOS ✓, compatible with macOS 10.10 and above

3 Integrated SDK

3.1 Install SDK

In the project directory, execute the following command in the command line to install the latest version of the SDK.

npm install zego-express-docsview-electron --save

When you execute npm install to install the SDK, if the download of the npm official website image is slow, you can switch to the domestic image.

3.2 Introducing SDK

Use the following code to introduce the SDK into the project.

  const ZegoExpressDocs = window.require('zego-express-docsview-electron')
Page Directory
  • Free trial
  • 提交工单
    咨询集成、功能及报价等问题
    电话咨询
    400 1006 604
    Get Consulting
    Scan Wechat QR code