Skip to main content
Use this API to open the Mini Program settings page and return permission setting results. Only the permissions that have been requested by the Mini Program from the user are displayed on the settings page.

Parameters

Success Callback Parameters

authSetting Object

Code Example

Basic Usage

Check and Request Permission

Permission Management Page

Use this API to guide users to re-enable permissions they previously denied. Always explain why the permission is needed before opening settings.

my.getLocation

Get location

my.chooseImage

Choose image