File Sharing
  • iOS
  • Android : Java
  • 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. -

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 check whether the file suffix name exists, if it does not exist, the Error Codes 2020009 will be thrown. ZegoDocsViewErrorConvertFileTypeInvalid

Bug Fixes

Fix the problem that the sheet page of the excel file is wrong

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 Interface
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 If 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 pre-loading dynamic PPT and H5 files Dynamic PPT and H5 files can be pre-loaded and cached locally through the cacheFile interface, which improves the speed of loading and displaying files. Please contact ZEGO technical support to enable this function. cacheFile

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.
-

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. cancelUploadFile
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. cacheFile
Newly cancel the file cache function Support to interrupt the cache in the process of caching files. cancelCacheFile
Newly added query cache file function Support query whether the file has been cached locally. queryFileCache

Enhancements

Enhancements Description Related Interface
Simplified initialization process ZegoDocsViewManager init initialization method adds Application type parameters, the adjusted method is: public void init(@NonNull Application application, @NonNull ZegoDocsViewConfig config, @NonNull IZegoDocsViewInitListener listener). After setting the Application parameter, the developer can not set the dataFolder, logFolder, cacheFolder in the config parameter. At this time, the SDK will internally set these parameters Set to the default value to simplify the initialization process. init

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 occasional white screen problem of dynamic PPT loading.

Version 1.15.0

Release date: 2021-01-07

Enhancements

Enhancements Description Related Interface
Optimize display Fix the problem of blurry display of dynamic PPT 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. -

Bug Fixes

This version fixes the possible splash screen problem of dynamic PPT.

Version 1.13.0

Release date: 2020-12-07

New Features

New Features Description Related Interface
Added the function of storing the current page information Added the file page information class, which is used to store the information of the current page. Currently, there is only one attribute rect, which is used to save file location and size information. ZegoDocsViewPage
Added the function of obtaining file page information Getting file page information. getCurrentPageInfo

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that dynamic PPT files only display 1/4 size on some models.
  2. Fix the problem that the file content is displayed incorrectly when the size of ZegoDocsView is changed.

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
PPT file in the new Video player pause function pause dynamic PPT file a new page of Video playback capabilities. stopPlay

Bug Fixes

This version fixes the following issues:

  1. Fixed the problem of thumbnail display failure.
  2. Fixed the problem of abnormal file upload.
  3. Fixed the problem of file loading failure.

Version 1.11.0

Release date: 2020-11-02

New Features

New Features Description Related Interface
Add dynamic PPT to play animation function - playAnimation
New file zoom function Support setting whether the file can be zoomed or not. setScaleEnable

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that the dynamic PPT may freeze when clicking and turning pages at the same time.
  2. Fix the problem that the dynamic PPT may be blank when the screen is unlocked.
  3. Fix the problem that the scaling interface for common types of files does not take effect.

Enhancements

Enhancements Description Related Interface
Memory optimization Optimize memory usage. -
Fill color optimization zegodocsview The default fill color is set to white, and the user can customize it through the setBackgroundColor of the view. setBackgroundColor

Version 1.10.0

Release date: 2020-09-28

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that the Preview image is not displayed.
  2. Fix the problem of file upload failure.
  3. Fix the problem of abnormal file display on some models.
  4. Fix the problem of abnormalities in the process of loading files.

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