const systemSetting = uni.getSystemSetting()
console.log("systemSetting:", systemSetting);
const lEnable = systemSetting.locationEnabled
const wEnable = systemSetting.wifiEnabled
以上代码返回日志如下:
17:41:24.190 systemSetting:
17:41:24.190 lEnable:,
17:41:24.190 wEnable:,
运行在 Android 8.0 手机上,请问需要添加什么权限,怎么添加,用的HBbuilder X 4.15
2***@qq.com (作者)
但是在 Android 8 上有呢,所以不做兼容吗
2024-05-20 18:03