收藏
回答

wx.getSystemInfo,locationEnabled一直返回false?

{
    "screenWidth"534,
    "cpuType""Qualcomm Technologies, Inc SM8150",
    "phoneCalendarAuthorized"true,
    "windowHeight"780,
    "bluetoothEnabled"true,
    "errMsg""getSystemInfo:ok",
    "language""zh_CN",
    "microphoneAuthorized"false,
    "fontSizeScaleFactor"1.4,
    "locationAuthorized"true,
    "notificationAuthorized"true,
    "model""21051182C",
    "statusBarHeight"27,
    "safeArea": {
        "width"534,
        "right"534,
        "top"0,
        "left"0,
        "bottom"842,
        "height"842
    },
    "brand""Xiaomi",
    "windowWidth"534,
    "locationEnabled"false,
    "benchmarkLevel"-1,
    "screenHeight"842,
    "abi""arm64-v8a",
    "version""8.0.49",
    "cameraAuthorized"true,
    "deviceAbi""arm64-v8a",
    "system""Android 11",
    "memorySize"5501,
    "fontSizeSetting"22,
    "pixelRatio"2.25,
    "deviceOrientation""portrait",
    "wifiEnabled"true,
    "screenTop"1,
    "platform""android",
    "SDKVersion""3.4.3",
    "enableDebug"false,
    "devicePixelRatio"2.25,
    "host": {
        "env""WeChat",
        "version"671101239
    },
    "mode""default"
}


机型:Xiaomi Pad 5

系统定位开关已打开,微信定位也授权了,日志已上传(上传时间:2024-5-9 10:58分左右),微信号 I_51_tomorrow,( 第一个字母是i的大写)


回答关注问题邀请回答
收藏

2 个回答

  • Exception
    Exception
    05-09

    补充:换成wx.getSystemSetting ,结果也是一样的,locationEnabled一直返回false

    05-09
    有用
    回复
  • 情何以堪
    情何以堪
    05-09

    换成wx.getSystemSetting 试下

    05-09
    有用
    回复
登录 后发表内容