Skip to main content
Use this API to trigger the native share panel within a mini program. This API takes no parameters.
When this API triggers sharing, the request parameter from in page.onShareAppMessage receives the value code.

Code Example