s***@icloud.com
s***@icloud.com
  • 发布:2023-05-15 19:41
  • 更新:2023-05-26 19:54
  • 阅读:47

【报Bug】iOS16.2 uni.getSystemSetting(),bluetoothEnabled始终返回false

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows11

HBuilderX类型: 正式

HBuilderX版本号: 3.7.11

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iPhone12

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

开启手机蓝牙开关,调用uni.getSystemSetting()

预期结果:

bluetoothEnabled为true

实际结果:

bluetoothEnabled为false

bug描述:

设备蓝牙开启 但是uni.getSystemSetting()返回值bluetoothEnabled为false
{
"locationEnabled": true,
"wifiEnabled": true,
"bluetoothEnabled": false,
"deviceOrientation": "portrait"
}

2023-05-15 19:41 负责人:DCloud_iOS_WZT 分享
已邀请:
piaoyi

piaoyi - 【插件开发】【专治疑难杂症】【解决问题 >80%】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663】【骗子请绕道】问题咨询请加QQ群:120594820,代表作 赶海和茶艺 小程序

从权限问题、设备设置问题、兼容性问题三个方面排查

DCloud_iOS_WZT

DCloud_iOS_WZT

看下是否勾选了蓝牙模块

要回复问题请先登录注册