手机系统信息如下:
{"locationEnabled":false,"screenWidth":400,"screenHeight":712,"windowHeight":637,"errMsg":"getSystemInfo:ok","bluetoothEnabled":true,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.4","cameraAuthorized":true,"system":"Android 8.0.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2.7,"notificationAuthorized":false,"model":"SM-G935F","statusBarHeight":27,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":400,"right":400,"top":0,"left":0,"bottom":712,"height":712},"brand":"samsung","windowWidth":400,"platform":"android","SDKVersion":"2.7.7"}
这个问题目前必现,其他手机/版本没有问题,因为没有对应的微信版本,所以没法对齐测试,目前定位到问题是设置了interval(我设置2000),只要不设置就不会闪退,有点费解~
监听下内存有告警么https://developers.weixin.qq.com/miniprogram/dev/api/device/performance/wx.onMemoryWarning.html
可以先升级下微信版本,问题还存在的话,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点