安卓手机 userLocationBackground 授权,拒绝一次后 在还想再次授权?
安卓手机 以前 授权 拒绝 想再次授权 在授权页面见不到授权选项
<button open-type="openSetting" bindopensetting='handler'>点击授权并获取位置信息</button> |
const app = getApp()Page({ data: { }, onLoad: function () { // 获取位置 }, btnTap(e) { }, handler: function (e) { var that = this; if (!e.detail.authSetting['scope.userLocationBackground']) { } else { } }}) |
就是没有 那个api 的授权
