@capgo/capacitor-wechat
Capacitor WeChat Plugin - WeChat SDK integration for authentication, sharing, payments, and mini-programs.
Overview
Section titled “Overview”Capacitor WeChat Plugin - WeChat SDK integration for authentication, sharing, payments, and mini-programs.
Core Capabilities
Section titled “Core Capabilities”initialize- Initialize the WeChat SDK with your application credentials.isInstalled- Check if WeChat app is installed on the device.auth- Authenticate user with WeChat OAuth.share- Share content to WeChat.
Public API
Section titled “Public API”| Method | Description |
|---|---|
initialize | Initialize the WeChat SDK with your application credentials. |
isInstalled | Check if WeChat app is installed on the device. |
auth | Authenticate user with WeChat OAuth. |
share | Share content to WeChat. |
sendPaymentRequest | Send payment request to WeChat Pay. |
openMiniProgram | Open WeChat mini-program. |
chooseInvoice | Choose invoice from WeChat. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-wechat.