File Sharing
  • iOS : Objective-C
  • Android
  • Web
  • Electron
  • Windows
  • macOS
  • Overview
  • SDK Downloads
  • Demo APP
  • Sample Codes
  • Access Guide
  • Quick Starts
  • Scene Practices
  • Advanced Features
  • Error Codes
  • Server API
  • Documentation
  • File Sharing
  • SDK Downloads
  • Release Notes

Release Notes

Last updated:2022-03-22 13:07

Version 1.23.0

Release Date: 2021-07-20

Enhancements

Optimization item Optimization Description Related interfaces
Optimized dynamic file weak network loading In response to the problem that dynamic PPT resources cannot be loaded in a weak network environment, a timeout retry mechanism has been added. -

Bug Fixes

Fix the crash of dynamic PPT under abnormal scenes.

Version 1.22.0

Release Date: 2021-07-06

Enhancements

Optimization item Optimization Description Related interfaces
Check the file suffix name When uploading the file, add the check file suffix to see if it exists. If it does not exist, the Error Codes 2020009 will be thrown. ZegoDocsViewErrorConvertFileTypeInvalid

Bug Fixes

This version fixes the problem of low definition of the file obtained by loading the file.

Version 1.21.0

Release date: 2021-05-31

New Features

New Features Description Related Interface
Added thumbnail definition setting function Support setting thumbnail definition. setCustomizedConfig

Enhancements

Enhancements Description Related Interfaces
File transcoding added Error Codes

During dynamic PPT transcoding,

  • If it contains elements that cannot be processed by the transcoding system, Error Codes 2020008 will be thrown.
  • If you simply detect that the file format is illegal, the Error Codes 2020009 will be thrown.
SDK log upload optimization When the developer does not set the log path, the default path for File Sharing will be used to record logs. When uploading logs, the relevant logs will be uploaded to this default path. It is recommended that developers do not need to set the log path, just use the default path inside the SDK. -

Version 1.20.0

Release date: 2021-04-29

New Features

New Features Description Related Interface
Add support for H5 file type Set the configuration parameters for uploading H5 files through ZegoDocsViewCustomH5Config, and call the uploadH5File interface to upload H5 files.
Added the function of preloading dynamic PPT and H5 files Dynamic PPT and H5 files can be preloaded and cached locally through the cacheFileWithFileId interface, which improves the speed of loading and displaying files. Please contact ZEGO technical support to enable this function. cacheFileWithFileId

Enhancements

Enhancements Description Related Interface
Function optimization Optimize PDF empty file verification. -
New Error Codes
  • 2030014: This file is not supported for preloading, please contact ZEGO technical support.
  • 2030015: Preloading failed.
  • 2030016: Invalid ZIP file, not a valid ZIP file or the file is damaged.
  • 2030017: Invalid H5 file, which does not conform to the H5 file specification defined by ZEGO.
-

Bug Fixes

This version fixes some problems that occasionally occur when switching between horizontal and vertical screens.

Version 1.19.0

Release date: 2021-03-25

New Features

New Features Description Related Interface
Add the permission setting function of the current dynamic PPT This function can Controller the page turning permission of the dynamic PPT by passing in the corresponding parameters through the setOperationAuth interface. setOperationAuth

Version 1.18.0

Release date: 2021-03-04

New Features

New Features Description Related Interface
Add the function of canceling uploading files Support interrupting uploading during file uploading. cancelUploadFileWithSeq
New file caching function Support for caching transcoded files to the local in advance, so that they can be opened quickly when used. This function does not support caching dynamic PPT files. cacheFileWithFileId
Newly cancel the file cache function Support to interrupt the cache in the process of caching files. cancelCacheFileWithSeq
Newly added query cache file function Support query whether the file has been cached locally. queryFileCachedWithFileId
New Error Codes 2020007

The file is in read-only mode. This Error Codes will be reported in the following situations.

  • The dynamic PPT file is set to read-only mode, which will cause the transcoding to fail.
  • The dynamic PPT file contains fonts that are not supported by the transcoding server, which will cause the transcoding to fail.
-
New Error Codes 2030010 This Error Codes will be reported when the corresponding transcoded file cannot be found. ZegoDocsViewError

Enhancements

Enhancements Description Related Interface
Optimized Error Codes Optimized the Description of 2020003 Error Codes . -

Version 1.16.0

Release date: 2021-01-21

Enhancements

Enhancements Description Related Interface
Optimize file loading logic When loading a file overtime or fails, the SDK automatically switches to the backup node to reload the file to ensure that the file can be loaded normally. -

Bug Fixes

This version fixes the problem of incorrect synchronization of whiteboard primitives caused by too many pages in the file.

Version 1.15.0

Release date: 2021-01-07

Enhancements

Enhancements Description Related Interface
Fix file loading Fix the crash caused by loading static files. -

Version 1.14.0

Release date: 2020-12-24

Enhancements

Enhancements Description Related Interface
Optimize network transmission The domain name address of the file transcoding service has been replaced, and the network transmission has been optimized. -

Version 1.13.0

Release date: 2020-12-07

New Features

New Features Description Related Interface
Add the function of storing the current page information Add the ZegoDocsViewPage class to store the information of the current page. Currently there is only one attribute rect, which is used to store the frame information of the page. ZegoDocsViewPage
Add the function of obtaining file page information to obtain file page information. getCurrentPageInfo

Enhancements

Enhancements Description Related Interface
Optimized file uninstallation ZegoDocsView The internal WKWebView will be released after the ZegoDocsView is destroyed, and will not cause memory leaks. unloadFile

Version 1.12.0

Release date: 2020-11-19

New Features

New Features Description Related Interface
Newly added setting page number change function You can set whether the step number change will trigger the page number change. setCustomizedConfig
Newly added Video playback pause function in PPT file Can pause the Video playback of a certain page of the dynamic PPT file. stopPlay
Newly disable dynamic PPT zoom function You can disable the dynamic PPT zoom function. setScaleEnable

Version 1.11.0

Release date: 2020-11-02

New Features

New Features Description Related Interface
Added dynamic PPT playback animation function Dynamic PPT playback animation function, need to cooperate with ZegoWhiteboardView SDK.

Bug Fixes

This version fixes the problem that the Error Codes 60010 is reported when opening the document.

Version 1.9.0

Release date: 2020-09-07

New Features

New Features Description Related Interface
Add the function of getting thumbnail list You can get the thumbnail list. getThumbnailUrlList

Version 1.8.0

Release date: 2020-08-18

Bug Fixes

This version fixes the known problems of dynamic PPT.

Page Directory