The mPaaS client framework encapsulates the download process for offline packages. This means developers do not directly control the download behavior. The download process for an offline package is as follows:
The client sends a request to the Mobile Delivery Service (MDS) server at cn-hangzhou-component-gw.cloud.alipay.com. The request includes the ID of the target H5 app.
The server returns information about the offline package, if it exists.
The client uses the
Package URLand thedownload configuration parametersfrom the response to download the .amr file of the offline package.
Procedure
The client requests offline package information.

The server returns the offline package information.

The client uses the Package URL from the previous step to download the corresponding .amr file.

Offline package download log sample: 1-offline-package-download-example.chls.zip