Flutter plugin that exposes WeChat SDK features such as sharing, pay, login, mini programs, and customer service on Android and iOS.
Overview
Fluwx is a Flutter plugin that wraps WeChat’s native SDK so Dart code can call WeChat capabilities from a Flutter app. It targets developers who need WeChat integration without writing separate platform channels for each feature.
Documented capabilities include sharing images, text, music, and similar content to chat, favorites, and timeline; WeChat Pay; obtaining an auth code before WeChat login; opening mini programs inside WeChat; subscribe messages; opening the WeChat app; launching the host app from WeChat links; and opening WeChat customer service flows. A separate nopay package variant omits payment-related APIs.
Setup requires registering the app with WeChat, calling the plugin’s register API with the app id, and platform-specific configuration. On iOS that includes universal links, associated domains, URL schemes, and query schemes for WeChat URLs. On Android the app signature MD5 must match what WeChat expects, which affects debug versus release testing.
Optional pubspec configuration can store app id and logging preferences. OpenHarmony support is mentioned for detecting whether WeChat is installed via module query schemes. HarmonyOS debugging notes call out manual signing requirements.
Key features
- WeChat share to session and timeline
- WeChat Pay integration
- OAuth-style login auth codes
- Launch WeChat mini programs
- Open app from WeChat links
- Customer service entry points
- Optional nopay package variant
- Pubspec-based fluwx configuration
Use cases
- Chinese-market apps with WeChat login
- In-app sharing to WeChat contacts
- Retail apps using WeChat Pay
- Deep links between app and WeChat