当前位置:网站首页>[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 :
边栏推荐
- 在线文本行固定长度填充工具
- NEW:Devart dotConnect ADO. NET
- Official announcement! The third cloud native programming challenge is officially launched!
- ClickPaaS低代码平台
- FFmepg使用指南
- [phantom engine UE] realize the animation production of mapping tripod deployment
- This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
- What is test development? Why do so many companies hire test developers now?
- MySQL: view with subquery in the from clause limit
- lds链接的 顺序问题
猜你喜欢
The development of mobile IM based on TCP still needs to keep the heartbeat alive
小程序中实现文章的关注功能
Common features of ES6
Alibaba cloud ECS uses cloudfs4oss to mount OSS
Looking back on 2021, looking forward to 2022 | a year between CSDN and me
About the recent experience of writing questions
网络安全-记录web漏洞修复
Threejs factory model 3DMAX model obj+mtl format, source file download
Network security - record web vulnerability fixes
【虚幻引擎UE】实现测绘三脚架展开动画制作
随机推荐
25K 入职腾讯的那天,我特么哭了
Study notes 7
网络安全-记录web漏洞修复
Enterprise level: spire Office for . NET:Platinum|7.7. x
UI automation test farewell to manual download of browser driver
[PHP features - variable coverage] improper use, improper configuration and code logic vulnerability of the function
How to remove installed elpa package
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
Online sql to excel (xls/xlsx) tool
我国算力规模排名全球第二:计算正向智算跨越
基于TCP的移动端IM即时通讯开发仍然需要心跳保活
A應用喚醒B應該快速方法
[understand series after reading] 6000 words teach you to realize interface automation from 0 to 1
小程序中实现文章的关注功能
JVM garbage collection
open graph协议
【UNIAPP】系统热更新实现思路
mysql的七种join连接查询
Rome chain analysis
ClickPaaS低代码平台