基于uniapp开发的一款APP,之前测试没问题,最近发现在某些安卓手机上打开后出现白屏;测试了几台设备后,发现可能是低版本安卓才有这个问题,高版本安卓都运行没问题;
另外,低版本安卓中遇到白屏问题后退出几次再登录又可以正常使用,比较诡异。
有问题的两台手机:魅族MX4(Android 5.1), 联想Pad(Android 4.4)
联机调试后报错信息如下,应该是因为有这个错误所以白屏了,好像是UI没渲染出来似的,请uniapp研发人员协助排查,多谢。
17:06:42.392 ReferenceError: wxAppCode is not defined
17:06:42.412 at uniapp://ready:195:22172
17:06:42.432 at h (uniapp://ready:195:10474)
17:06:42.452 at Object.x (uniapp://ready:181:2097)
17:06:42.472 (uniapp://ready:1:20423)
17:06:42.512 Uncaught ReferenceError: wxAppCode is not defined at uniapp://ready:195
17:06:43.852 TypeError: Cannot read property 'setChanges' of undefined
17:06:43.872 (uniapp://ready:195:20440)
17:06:43.892 at e.r.value (uniapp://ready:195:8021)
17:06:43.912 at Function.o.value (uniapp://ready:194:17437)
17:06:43.932 at A (uniapp://ready:196:20342)
17:06:43.952 at m (uniapp://ready:196:21592)
17:06:43.972 at uniapp://ready:196:21454
17:06:44.032 at file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/app-view.js:16076:11 at uniapp://ready:196