@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.
Keep going from @capgo/capacitor-wechat
Section titled “Keep going from @capgo/capacitor-wechat”If you are using @capgo/capacitor-wechat to plan authentication and account flows, connect it with Using @capgo/capacitor-wechat for the native capability in Using @capgo/capacitor-wechat, @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric, and Two-factor authentication for the implementation detail in Two-factor authentication.