当前位置:网站首页>[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 :
边栏推荐
- ActiveReportsJS 3.1 VS ActiveReportsJS 3.0
- Clickpaas low code platform
- Three level linkage demo of uniapp uview u-picker components
- 长度为n的入栈顺序的可能出栈顺序
- 【虚幻引擎UE】实现测绘三脚架展开动画制作
- On the day 25K joined Tencent, I cried
- Ctfshow 2022 Spring Festival welcome (detailed commentary)
- 【UNIAPP】系统热更新实现思路
- BDF application - topology sequence
- The development of mobile IM based on TCP still needs to keep the heartbeat alive
猜你喜欢
MacBook安装postgreSQL+postgis
As soon as I write the code, President Wang talks with me about the pattern all day
Threejs Internet of things, 3D visualization of farm (III) model display, track controller setting, model moving along the route, model adding frame, custom style display label, click the model to obt
Soul 3: what is interface testing, how to play interface testing, and how to play interface automation testing?
About the project error reporting solution of mpaas Pb access mode adapting to 64 bit CPU architecture
快手、抖音、视频号交战内容付费
[phantom engine UE] package error appears! Solutions to findpin errors
Wechat applet development process (with mind map)
北京程序员的真实一天!!!!!
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
随机推荐
MySQL: view with subquery in the from clause limit
MacBook安装postgreSQL+postgis
如何优雅的获取每个分组的前几条数据
MindFusion. Virtual Keyboard for WPF
Looking back on 2021, looking forward to 2022 | a year between CSDN and me
网络安全-记录web漏洞修复
Use object composition in preference to class inheritance
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
Wechat applet development process (with mind map)
[Chongqing Guangdong education] 2408t Chinese contemporary literature reference test in autumn 2018 of the National Open University
FFmepg使用指南
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
Realize the attention function of the article in the applet
【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)
10种寻址方式之间的区别
What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
Soul 3: what is interface testing, how to play interface testing, and how to play interface automation testing?
laravel8 导出Excle文件
Threejs Internet of things, 3D visualization of farms (II)
Differences among 10 addressing modes