收藏
回答

wx.openBluetoothAdapter设置interval会导致小程序闪退?

问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 小程序 Bug wx.openBluetoothAdapter 微信安卓客户端 7.0.4 2.7.7

手机系统信息如下:

{"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),只要不设置就不会闪退,有点费解~

最后一次编辑于  09-30
回答关注问题邀请回答
收藏

1 个回答

问题标签