# uni.openAppAuthorizeSetting()

Jump to the system authorization management page

  • App端 打开系统App的权限设置界面
  • 微信小程序 打开系统微信App的权限设置界面

Platform Difference Description

App H5 微信小程序 支付宝小程序 百度小程序 抖音小程序、飞书小程序 钉钉小程序 QQ小程序 快手小程序 京东小程序 元服务
HBuilderX (3.5.3+) x 基础库 (2.20.1+) x x x x x x x x

# openAppAuthorizeSetting 兼容性

HarmonyOS
HBuilderX 4.23

OBJECT parameter description

Parameter name Type Required Description
success Function No Callback function for successful interface call
fail Function No Callback function for interface call failure
complete Function No The callback function of the end of the interface call (the call will be executed if the call succeeds or fails)

Example

uni.openAppAuthorizeSetting({
  success (res) {
    console.log(res)
  }
})