wx.openBluetoothAdapter设置interval会导致小程序闪退?
发布于 5 年前 作者 pinggong 10427 次浏览 来自 官方Issues

手机系统信息如下:

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

回到顶部