Sauter vers le contenu

@capgo/capacitor-wechat

Capacitor Plugin WeChat - Intégration WeChat SDK pour l'authentification, la partage, les paiements et les mini-applications.

Capacitor Plugin WeChat - Intégration WeChat SDK pour l'authentification, le partage, les paiements et les mini-applications.

  • initialize - Initialisez le WeChat SDK avec vos informations d'identification d'application.
  • isInstalled - Vérifiez si l'application WeChat est installée sur le dispositif.
  • auth - Authentifiez l'utilisateur avec WeChat OAuth.
  • share - Partagez du contenu sur WeChat.
MéthodeDescription
initializeInitialisez le WeChat SDK avec vos informations d'identification d'application.
isInstalledVérifiez si l'application WeChat est installée sur le dispositif.
authAuthentifiez l'utilisateur avec WeChat OAuth.
sharePartagez du contenu sur WeChat.
sendPaymentRequestEnvoyer une demande de paiement à WeChat Pay.
openMiniProgramOuvrir le mini-programme WeChat.
chooseInvoiceChoisir la facture de WeChat.
getPluginVersionObtenir la version native du plugin Capacitor.

Cette référence est synchronisée à partir de src/definitions.ts en capacitor-wechat.

Si vous utilisez @capgo/capacitor-wechat planer les flux d'authentification et de compte, connectez-l’avec 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 L'authentification à deux facteurs pour le détail d'implémentation dans L'authentification à deux facteurs.