The client fetches the latest offline package after developers release a new version on the offline package platform. The procedure is as follows:
The client sends a request to the MDS server with the ID and local version number of the target H5 app that needs to be updated.
The server returns the relevant update information for this offline package, if it exists.
The client actively downloads the amr file of the updated package according to the
incremental package address
in the returned message and in combination with thedownload configuration parameters
in the return message. (If there is no incremental package address, the full package is downloaded according to thePackage URL
).
Procedures
Request offline package information.
The returned offline package update information.
The client downloads the corresponding amr file according to the URL of the incremental packet obtained in the previous step.
Update log example of an offline package: 2-offline-package-update-example.chls.zip