All Products
Search
Document Center

Mobile Platform as a Service:Manage HTML5 offline package

Last Updated:Oct 25, 2024

You can manage the released HTML5 offline packages. The management operations include viewing, suspending and ending release tasks, and deleting HTML5 offline packages.

View offline package release task

Log in to the mPaaS console, and complete the following steps:

  1. On the left navigation bar, click Mobile Delivery Service > Offline package management.

  2. In the HTML5 app list, select the target H5App, choose the offline package version that you want to view from the list, and click unfold icon (image) left to the offline package version.

  3. In the unfolded task list, click View to view the release task details.

Suspend offline package release task

Log in to the mPaaS console, and complete the following steps:

  1. On the left navigation bar, click Mobile Delivery Service > Offline package management.

  2. In the HTML5 app list, select the target H5App, choose the offline package version that you want to suspend from the list, and click unfold icon (image) left to the offline package version.

  3. In the unfolded task list, click Pause and then confirm the operation.

    To resume releasing the offline package, click Continue.

End offline package release task

Log in to the mPaaS console, and complete the following steps:

  1. On the left navigation bar, click Mobile Delivery Service > Offline package management.

  2. In the HTML5 app list, select the target H5App, choose the offline package version that you want to end from the list, and click unfold icon (image) left to the offline package version.

  3. In the unfolded task list, click End and then confirm the operation.

After the end, if you want to release the offline package again, you need to re-create the release.

Important

After the release is ended, the offline package cannot be downloaded. However, if there are other versions of the offline package being released, the offline package of the released version can still be downloaded. For example, if the release of version V1.1 of an offline package is ended, and version V1.0 is still being released, the client cannot download the offline package of version V1.1, but can still download the offline package of version V1.0.

Export offline package

MDS allows for the download of individual offline package resource files (.amr) or configuration files (.json).

  1. After accessing the mPaaS console, proceed to Real-time Publishing > Offline Package Management via the left-side navigation pane.

  2. In the H5App list, select the desired H5App. Then, in the offline package list on the right, choose the version and select Download AMR File or Download Configuration File to initiate the download.

Delete H5App

Log in to the mPaaS console, and complete the following steps:

  1. On the left navigation bar, click Mobile Delivery Service > Offline package management.

  2. In the H5App list on the left, hover your mouse over the target H5App, click the delete icon, and select Confirm in the pop-up. Note that deleting the H5App will also remove all associated offline packages and resource files.

Important

H5App cannot be restored after deletion, so please operate with caution.