部分用户iphone手机打开小程序白屏,我们自己没有复现问题,已反馈的有下面三个用户,信息如下
用户一 设备型号:iPhone 7<iPhone9,1> 客户端版本:7.0.12 基础库版本:2.10.4 系统类型:iOS 10.3.3
用户二 设备型号:iPhone 6<iPhone7,2> 客户端版本:7.0.4 基础库版本:2.7.7 系统类型:iOS 10.3.3
用户三 设备型号:iPhone 7 Plus<iPhone9,2> 客户端版本:7.0.15 基础库版本:2.13.0 系统类型:iOS 10.3.3
反馈上来看到的日志大概如下:首页一直在onLoad\onUnLoad
2020-9-14 16:32:15 [log] page pages/home/home onLoad have been invoked
2020-9-14 16:32:15 [log] page pages/home/home onShow have been invoked
2020-9-14 16:32:15 [log] page pages/home/home onReady have been invoked
2020-9-14 16:32:17 [log] wx.getNetworkType api invoke
2020-9-14 16:32:17 [log] wx.getNetworkType success callback with msg getNetworkType:ok
2020-9-14 16:32:17 [log] wx.onNetworkStatusChange api invoke
2020-9-14 16:33:21 [log] page pages/home/home onHide have been invoked
2020-9-14 16:33:24 [log] page pages/home/home onUnload have been invoked
2020-9-14 16:33:24 [log] page pages/home/home onLoad have been invoked
2020-9-14 16:33:24 [log] page pages/home/home onShow have been invoked
2020-9-14 16:33:24 [log] page pages/home/home onReady have been invoked
2020-9-14 16:33:49 [log] page pages/home/home onHide have been invoked
2020-9-14 16:34:17 [log] page pages/home/home onLoad have been invoked
2020-9-14 16:34:17 [log] page pages/home/home onShow have been invoked
2020-9-14 16:34:17 [log] page pages/home/home onReady have been invoked
2020-9-14 16:34:19 [log] wx.getNetworkType api invoke
2020-9-14 16:34:19 [log] wx.getNetworkType success callback with msg getNetworkType:ok
2020-9-14 16:34:19 [log] wx.onNetworkStatusChange api invoke
2020-9-14 16:34:34 [log] page pages/home/home onHide have been invoked
2020-9-14 16:34:36 [log] page pages/home/home onShow have been invoked
2020-9-14 16:34:48 [log] page pages/home/home onHide have been invoked
2020-9-14 16:34:53 [log] page pages/home/home onUnload have been invoked
2020-9-14 16:34:53 [log] page pages/home/home onLoad have been invoked
2020-9-14 16:34:53 [log] page pages/home/home onShow have been invoked
2020-9-14 16:34:53 [log] page pages/home/home onReady have been invoked
2020-9-14 16:36:8 [log] page pages/home/home onHide have been invoked
2020-9-14 16:40:32 [log] page pages/home/home onShow have been invoked
2020-9-14 16:40:41 [log] page pages/home/home onHide have been invoked
2020-9-14 16:40:46 [log] page pages/home/home onShow have been invoked
2020-9-14 16:40:57 [log] page pages/home/home onHide have been invoked
2020-9-14 16:41:3 [log] page pages/home/home onShow have been invoked
2020-9-14 16:41:6 [log] page pages/home/home onHide have been invoked
2020-9-14 16:41:12 [log] page pages/home/home onUnload have been invoked
2020-9-14 16:41:12 [log] page pages/home/home onLoad have been invoked
2020-9-14 16:41:12 [log] page pages/home/home onShow have been invoked
2020-9-14 16:41:12 [log] page pages/home/home onReady have been invoked
2020-9-14 16:42:20 [log] page pages/home/home onHide have been invoked
2020-9-14 16:42:38 [log] page pages/home/home onShow have been invoked
2020-9-14 16:42:48 [log] page pages/home/home onHide have been invoked
我们也遇到类似的问题,小程序里的某个页面打不开,我们自己的机型都没有遇害到过,也是客户反应这样的问题,想要调试都无法调试。机型是设备型号:iPhone 6<iPhone7,2> 客户端版本:7.0.4 基础库版本:2.7.7 系统类型:iOS 10.3.3,
你好,建议可以让用户配合排查下,白屏页面看看有没有详细的错误信息:
1.使用wx.setEnableDebug(Object object)开启调试开关 https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html
2. 在正式版打开调试还有一种方法,就是先在开发版或体验版打开调试,再切到正式版就能看到vConsole。
看看是不是因为接口原因