Skip to content

@capgo/capacitor-wechat

Capacitor WeChat プラグイン - WeChat SDK の認証、共有、決済、ミニプログラムの統合

Capacitor WeChat プラグイン - WeChat SDK認証、共有、決済、ミニプログラムの統合

  • initialize - アプリケーション資格情報でWeChat SDKを初期化します。
  • isInstalled - デバイス上のWeChatアプリがインストールされているかどうかを確認します。
  • auth - WeChat OAuth でユーザーを認証します。
  • share - WeChat にコンテンツを共有します。
MethodDescription
initializeWeChat SDK を初期化するには、ご自身のアプリケーション資格情報を入力してください。
isInstalledデバイス上の WeChat アプリがインストールされているかどうかを確認します。
authWeChat OAuth でユーザーを認証します。
shareWeChat にコンテンツを共有します。
sendPaymentRequestWeChat Pay から支払い要求を送信します。
openMiniProgramWeChat mini-program を開きます。
chooseInvoiceWeChatから請求書を選択してください。
getPluginVersionCapacitorのネイティブプラグインのバージョンを取得します。

この参照は、 src/definitions.ts からsyncされています。 capacitor-wechat.

あなたが capgo/capacitor-wechat を使用して認証とアカウントフローの計画を行っている場合、 @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 Capgoの2要素認証機能