More Premium Hugo Themes Premium React Themes

React Native Wechat Lib

WeChat login, share, favorite and payment for React-Native on iOS and Android

React Native Wechat Lib

WeChat login, share, favorite and payment for React-Native on iOS and Android

Author Avatar Theme by little-snow-fox
Github Stars Github Stars: 749
Last Commit Last Commit: Oct 28, 2025 -
First Commit Created: Feb 24, 2024 -
React Native Wechat Lib screenshot

Overview:

The React-Native-Wechat-Lib is a bridging library designed for React Native projects to incorporate WeChat SDK support. It integrates WeChat SDKs for both Android SDK 6.8.20 and iOS SDK 2.0. The library supports various versions of React Native, Android SDK, and iOS SDK with and without payment functionality. The latest code version is 3.0.x, with NPM version currently up to 1.1.26. It is important to note that version 3.0.x is still in the development stage, hence some features may be untested.

Features:

  • WeChat SDK Support: Integrates WeChat SDK for Android SDK 6.8.20 and iOS SDK 2.0.
  • Version Compatibility: Supports different versions of React Native, Android SDK, and iOS SDK, with or without payment functionality.
  • Global Method Calls: Provides methods like registerApp, isWXAppInstalled, isWXAppSupportApi for global usage.
  • API Documentation Support: Supports TypeScript and allows for Promise or async/await handling of responses.

Installation:

To install the React-Native-Wechat-Lib, follow these steps:

# NPM Installation
npm install react-native-wechat-lib

# Source Code Installation
git clone [repo-url]

For specifying a specific version:

npm install react-native-wechat-lib@3.0.4

For platform-specific installations:

  • iOS: [installation steps]
  • Android: [installation steps]

Summary:

The React-Native-Wechat-Lib is a valuable library for React Native developers seeking to integrate WeChat SDK into their projects. With support for different SDK versions and functionalities, along with global method calls and TypeScript compatibility, this library simplifies the integration process. Users should be cautious when opting for version 3.0.x, as it is still under development, and some features may not be fully tested. The library is actively maintained by the developer and welcomes contributions from the community.