小七ing
小七ing
  • 发布:2023-01-29 10:31
  • 更新:2023-01-29 20:43
  • 阅读:252

【报Bug】如此不严谨?uni.getSystemSetting

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: Alpha

HBuilderX版本号: 3.5.3

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iPhone14pro

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

文档是:console.log(systemSetting.locationEnabled)
实际打印:{"deviceOrientation":"portrait","bluetoothError":"Missing bluetooth module in manifest.json","locationEnable":true,"bluetoothEnable":false,"wifiEnabled":true}

locationEnable和locationEnabled区别,到底有没有d?

预期结果:

文档是:console.log(systemSetting.locationEnabled)
实际打印:{"deviceOrientation":"portrait","bluetoothError":"Missing bluetooth module in manifest.json","locationEnable":true,"bluetoothEnable":false,"wifiEnabled":true}

locationEnable和locationEnabled区别,到底有没有d?

实际结果:

文档是:console.log(systemSetting.locationEnabled)
实际打印:{"deviceOrientation":"portrait","bluetoothError":"Missing bluetooth module in manifest.json","locationEnable":true,"bluetoothEnable":false,"wifiEnabled":true}

locationEnable和locationEnabled区别,到底有没有d?

bug描述:

文档是:console.log(systemSetting.locationEnabled)
实际打印:{"deviceOrientation":"portrait","bluetoothError":"Missing bluetooth module in manifest.json","locationEnable":true,"bluetoothEnable":false,"wifiEnabled":true}

locationEnable和locationEnabled区别,到底有没有d?

2023-01-29 10:31 负责人:DCloud_iOS_XHY 分享
已邀请:
DCloud_UNI_LXH

DCloud_UNI_LXH

有没有试过安卓的?打印的结果是什么?

  • 小七ing (作者)

    安卓的:{"deviceOrientation":"portrait","bluetoothError":"Missing permissions required by BluetoothAdapter.isEnabled: android.permission.BLUETOOTH","wifiEnabled":true,"locationEnabled":true}


    2023-01-29 11:07

  • 小七ing (作者)

    下个版本不会把d加回来吧?那我就要改了


    2023-01-29 11:08

  • DCloud_UNI_LXH

    回复 小七ing: 应该是会加回来的


    2023-01-29 11:14

DCloud_iOS_XHY

DCloud_iOS_XHY

更新一下HBuilderX的版本 3.6.2版本已经修复这个问题

  • 小七ing (作者)

    为了这个去升级,等下引起其他问题,还是少个d好了


    2023-01-30 09:37

要回复问题请先登录注册