当前位置:网站首页>[uniapp] system hot update implementation ideas
[uniapp] system hot update implementation ideas
2022-07-05 04:12:00 【Rabbit Xiaoyun】
1. Client implementation logic
(1) When the user logs in , Automatically get the latest version number of the server , And match the local version number , If the server version is higher than the local version , Prompt the user to update
(2) The user enters the personal center page , Click version update , Check the updated version number , Click Yes to update the version .
a. If the base version is the same , But the application version number is different , Get from the server wgt Format update profile , Automatic download for update .
( If there are some problems after the update , Consider uninstalling apk Post login WEB Client re Download apk.)
b. If the base version is different , Then get the new version from the server apk Automatically download and reinstall .
2. The server implements logic
In the system parameter configuration section , Configure update address 、 Update version information ( Include app name 、 Client type 、 Content description 、 Base version number 、 Application version number, etc )
3. Realization effect :
边栏推荐
- provide/inject
- Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
- As soon as I write the code, President Wang talks with me about the pattern all day
- 【看完就懂系列】一文6000字教你从0到1实现接口自动化
- Is "golden nine and silver ten" the best time to find a job? Not necessarily
- [untitled]
- Fuel consumption calculator
- The new project Galaxy token just announced by coinlist is gal
- UI automation test farewell to manual download of browser driver
- Realize the attention function of the article in the applet
猜你喜欢
Test d'automatisation de l'interface utilisateur télécharger manuellement le pilote du navigateur à partir de maintenant
如何优雅的获取每个分组的前几条数据
A real day for Beijing programmers!!!!!
kubernetes集群之调度系统
[array]566 Reshape the matrix - simple
The new project Galaxy token just announced by coinlist is gal
【虛幻引擎UE】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)
快手、抖音、视频号交战内容付费
C语言课设:影院售票管理系统
Scheduling system of kubernetes cluster
随机推荐
Get to know MySQL connection query for the first time
Three level linkage demo of uniapp uview u-picker components
Scheduling system of kubernetes cluster
Containerd series - what is containerd?
Rome chain analysis
【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)
[brush questions] BFS topic selection
Threejs loads the city obj model, loads the character gltf model, and tweetjs realizes the movement of characters according to the planned route
3. Package the bottom navigation tabbar
Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
Uni app common functions /api
How does the applet solve the rendering layer network layer error?
Judge whether the stack order is reasonable according to the stack order
How to remove installed elpa package
面试字节,过关斩将直接干到 3 面,结果找了个架构师来吊打我?
laravel8 导出Excle文件
error Couldn‘t find a package. JSON file in "your path“
如何优雅的获取每个分组的前几条数据
provide/inject
A应用唤醒B应该快速方法