Skip to content

About the Project

cordova-plugin-wechat is a Cordova plugin developed based on WeChat (OpenSDK). This plugin implements all the interfaces of the official WeChat SDK and provides secondary encapsulation and optimization of WeChat's interfaces and parameters, allowing you to quickly implement and develop WeChat login, payment, sharing, mini-programs, and other features on platforms like Cordova.

SDK Versions

  • Cordova 12.x
  • WeChat OpenSDK Android 6.8.24, iOS 2.0.2

Features

  • ✅ WeChat Login (Authorization Login, QR Code Login)

  • ✅ WeChat Payment

  • ✅ WeChat Sharing/Favorites (Text, Image, Webpage, Video, Music, Music Video, File, Emoji, Mini Program)

  • ✅ Launch WeChat Mini Program

  • ✅ Launch WeChat App

  • ✅ Launch WeChat Customer Service

  • ✅ One-time Subscription Message

  • ✅ Select Invoice

  • ✅ Check if WeChat App is Installed

  • ✅ Get WeChat SDK Version

  • ✅ Event Listening (Open App from WeChat, QR Code Scan Success, Authentication Completed, WeChat API Initialization)

Compatibility

  • ✅ Cordova
  • ✅ Ionic/Capacitor

License

Apache 2.0

Apache 2.0 License.