详细问题描述
(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)
[内容]
重现步骤
[步骤]
首次安装 APP 版本 1.1.0,资源版本号 1.1.0,此时生成环境有 1.1.1 的热更新包,用户安装 APP 后,就会检测到更新包,也提示安装成功了,调用plus.runtime.restart()重启后,得到的资源版本号还是 1.1.0
[结果]
结果就是会导致一直更新重启,但是如果用户强制关闭 APP,再次进入 APP,就能正常热更新
[期望]
期望首次安装 APP,如果有热更新包,也可以正常安装。
[如果语言难以表述清晰,拍一个视频或截图,有图有真相]
IDE运行环境说明
[HBuilder 或 HBuilderX。如果你用其他工具开发uni-app,也需要在此说明]
[IDE版本号]
HBuilderX 2.3.6
[windows版本号]
[mac版本号]
10.14.6
uni-app运行环境说明
[运行端是h5或app或某个小程序?]
离线打包,手机 APP
[运行端版本号]
iOS13 系统
[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]
[编译模式是老模板模式还是新的自定义组件模式?]
App运行环境说明
[Android版本号]
[iOS版本号]
13.1.3
[手机型号]
iPhone 8Plus
[模拟器型号]
附件
[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]
[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]
[App安装包或H5地址]
[可重现代码片段]
https://www.imdb.com/list/ls080492883/?mode=desktop
https://www.imdb.com/list/ls080494030/?mode=desktop
https://www.imdb.com/list/ls080494538/?mode=desktop
https://www.imdb.com/list/ls080494529/?mode=desktop
https://www.imdb.com/list/ls080494181/?mode=desktop
https://www.imdb.com/list/ls080494611/?mode=desktop
https://www.imdb.com/list/ls080494665/?mode=desktop
https://www.imdb.com/list/ls080494648/?mode=desktop
https://www.imdb.com/list/ls080494447/?mode=desktop
https://www.imdb.com/list/ls080499877/?mode=desktop
https://www.imdb.com/list/ls080499832/?mode=desktop
https://www.imdb.com/list/ls080498073/?mode=desktop
https://www.imdb.com/list/ls080498525/?mode=desktop
https://www.imdb.com/list/ls080498594/?mode=desktop
https://www.imdb.com/list/ls080498766/?mode=desktop
https://www.imdb.com/list/ls080498797/?mode=desktop
https://www.imdb.com/list/ls080498122/?mode=desktop
https://www.imdb.com/list/ls080498301/?mode=desktop
https://www.imdb.com/list/ls080498372/?mode=desktop
https://www.imdb.com/list/ls080498346/?mode=desktop
https://www.imdb.com/list/ls080498607/?mode=desktop
https://www.imdb.com/list/ls080498250/?mode=desktop
https://www.imdb.com/list/ls080498219/?mode=desktop
https://www.imdb.com/list/ls080498926/?mode=desktop
https://www.imdb.com/list/ls080480058/?mode=desktop
https://www.imdb.com/list/ls080480017/?mode=desktop
https://www.imdb.com/list/ls080480023/?mode=desktop
https://www.imdb.com/list/ls080480080/?mode=desktop
https://www.imdb.com/list/ls080480551/?mode=desktop
https://www.imdb.com/list/ls080480708/?mode=desktop
https://www.imdb.com/list/ls080480744/?mode=desktop
https://www.imdb.com/list/ls080905108/?mode=desktop
https://www.imdb.com/list/ls080905117/?mode=desktop
https://www.imdb.com/list/ls080905166/?mode=desktop
https://www.imdb.com/list/ls080905320/?mode=desktop
https://www.imdb.com/list/ls080905393/?mode=desktop
https://www.imdb.com/list/ls080905606/?mode=desktop
https://www.imdb.com/list/ls080905658/?mode=desktop
https://www.imdb.com/list/ls080905618/?mode=desktop
https://www.imdb.com/list/ls080905695/?mode=desktop
https://www.imdb.com/list/ls080905685/?mode=desktop
https://www.imdb.com/list/ls080905252/?mode=desktop
https://www.imdb.com/list/ls080905214/?mode=desktop
https://www.imdb.com/list/ls080905473/?mode=desktop
https://www.imdb.com/list/ls080905437/?mode=desktop
https://www.imdb.com/list/ls080905426/?mode=desktop
https://www.imdb.com/list/ls080905497/?mode=desktop
https://www.imdb.com/list/ls080905908/?mode=desktop
https://www.imdb.com/list/ls080905879/?mode=desktop
https://www.imdb.com/list/ls080905860/?mode=desktop
https://www.imdb.com/list/ls080905896/?mode=desktop
https://www.imdb.com/list/ls080907060/?mode=desktop
https://www.imdb.com/list/ls080907508/?mode=desktop
https://www.imdb.com/list/ls080907517/?mode=desktop
https://www.imdb.com/list/ls080907530/?mode=desktop
https://www.imdb.com/list/ls080907560/?mode=desktop
https://www.imdb.com/list/ls080907548/?mode=desktop
https://www.imdb.com/list/ls080907598/?mode=desktop
https://www.imdb.com/list/ls080907703/?mode=desktop
https://www.imdb.com/list/ls080930198/?mode=desktop
https://www.imdb.com/list/ls080930303/?mode=desktop
https://www.imdb.com/list/ls080930357/?mode=desktop
https://www.imdb.com/list/ls080930337/?mode=desktop
https://www.imdb.com/list/ls080930361/?mode=desktop
https://www.imdb.com/list/ls080930345/?mode=desktop
https://www.imdb.com/list/ls080930343/?mode=desktop
https://www.imdb.com/list/ls080930382/?mode=desktop
https://www.imdb.com/list/ls080930601/?mode=desktop
https://www.imdb.com/list/ls080930609/?mode=desktop
https://www.imdb.com/list/ls080930677/?mode=desktop
https://www.imdb.com/list/ls080930611/?mode=desktop
https://www.imdb.com/list/ls080930614/?mode=desktop
https://www.imdb.com/list/ls080930664/?mode=desktop
https://www.imdb.com/list/ls080930629/?mode=desktop
https://www.imdb.com/list/ls080930642/?mode=desktop
https://www.imdb.com/list/ls080930683/?mode=desktop
https://www.imdb.com/list/ls080930207/?mode=desktop
https://www.imdb.com/list/ls080930204/?mode=desktop
https://www.imdb.com/list/ls080930274/?mode=desktop
https://www.imdb.com/list/ls080930216/?mode=desktop
https://www.imdb.com/list/ls080930237/?mode=desktop
https://www.imdb.com/list/ls080930267/?mode=desktop
https://www.imdb.com/list/ls080930225/?mode=desktop
https://www.imdb.com/list/ls080930224/?mode=desktop
https://www.imdb.com/list/ls080930292/?mode=desktop
https://www.imdb.com/list/ls080930287/?mode=desktop
https://www.imdb.com/list/ls080930405/?mode=desktop
https://www.imdb.com/list/ls080930495/?mode=desktop
https://www.imdb.com/list/ls080930494/?mode=desktop
https://www.imdb.com/list/ls080930483/?mode=desktop
https://www.imdb.com/list/ls080930998/?mode=desktop
https://www.imdb.com/list/ls080930982/?mode=desktop
https://www.imdb.com/list/ls080930854/?mode=desktop
https://www.imdb.com/list/ls080930874/?mode=desktop
https://www.imdb.com/list/ls080930837/?mode=desktop
https://www.imdb.com/list/ls080930862/?mode=desktop
https://www.imdb.com/list/ls080930829/?mode=desktop
https://www.imdb.com/list/ls080930848/?mode=desktop
https://www.imdb.com/list/ls080935001/?mode=desktop
https://www.imdb.com/list/ls080935008/?mode=desktop
0 个回复