H5 offline package loading method and device

The invention provides an H5 off-line package loading method and device, the H5 off-line package loading method is applied to a mobile terminal, the method comprises the steps that far-end version information and local version information are obtained, the far-end version information is version info...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: REN ZHAOLI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides an H5 off-line package loading method and device, the H5 off-line package loading method is applied to a mobile terminal, the method comprises the steps that far-end version information and local version information are obtained, the far-end version information is version information of a latest H5 off-line package of a server, and the local version information is version information of a local H5 off-line package in the mobile terminal; judging whether the remote version information is the same as the local version information or not; and if the remote version information is the same as the local version information, opening an H5 application in a local H5 offline package through WebView so as to carry out APP page loading. By adopting the application, the step of loading the H5 application online is omitted, the H5 application is directly opened locally, and the effect of improving the APP page loading speed is achieved. 本申请提供一种H5离线包加载方法及装置,H5离线包加载方法应用于移动端,所述方法包括:获取远端版本信息以及本地版本信息,所述远端