Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. React Native
  3. react-native-wechat

react-native-wechat

MITObjective-C

A React Native bridging library for WeChat SDK integration, enabling login, sharing, and payment features.

Visit WebsiteGitHubGitHub
2.9k stars704 forks0 contributors

What is react-native-wechat?

React-Native-Wechat is a bridging library that integrates the official WeChat SDK into React Native applications for iOS and Android. It provides a unified JavaScript interface for essential WeChat functionalities like login, sharing, and payment, allowing developers to incorporate WeChat services seamlessly into their mobile apps. The library simplifies the integration of WeChat's native SDKs while adhering to React Native's design principles.

Target Audience

React Native developers building mobile applications for the Chinese market that require integration with WeChat services such as authentication, social sharing, or payments. This includes teams creating apps for e-commerce, social networking, or any service needing WeChat login or sharing capabilities.

Value Proposition

Developers choose React-Native-Wechat because it offers a reliable, well-documented bridge to the official WeChat SDK with full feature compatibility, including support for the latest iOS and Android SDK versions. Its promise-based API provides a modern, clean interface for async/await patterns, reducing the complexity of native module integration compared to building custom bridges.

Overview

🚀 WeChat login, share, favorite and payment for React-Native on iOS and Android platforms (QQ: 336021910)

Use Cases

Best For

  • Adding WeChat OAuth2 login to a React Native app for user authentication in China.
  • Implementing social sharing to WeChat Timeline or Sessions from a React Native app, supporting text, images, videos, files, and web links.
  • Integrating WeChat Pay for processing in-app payments within React Native e-commerce or service applications.
  • Checking WeChat app installation and SDK support to conditionally enable features in a React Native app.
  • Sharing local files (e.g., documents or images) from a React Native app to WeChat chats or groups.
  • Opening the WeChat app directly from a React Native application for seamless user transitions.

Not Ideal For

  • Expo-managed projects that rely on the Expo Go client and avoid ejecting for native modules, as this library requires linking the WeChat SDK.
  • Applications targeting global markets without a significant user base in China, where WeChat integration is unnecessary or low-priority.
  • Teams needing a social sharing library that supports multiple platforms (e.g., Facebook, Twitter) beyond WeChat, as this is WeChat-only.

Pros & Cons

Pros

Official SDK Bridge

Integrates the latest official WeChat SDKs (iOS 1.7.2, Android 221), ensuring full feature compatibility and reliability for WeChat services like login, sharing, and pay.

Comprehensive WeChat Features

Supports all core WeChat functionalities including OAuth2 login, social sharing to Timeline/Sessions, WeChat Pay, and app integration checks, as detailed in the API documentation.

Modern Promise-based API

All methods return Promises, enabling clean async/await patterns and straightforward error handling with WechatError instances, as shown in the code examples.

Detailed Code Examples

Provides extensive, practical code snippets for various sharing scenarios, such as sharing images from files or resources, which helps in implementation and debugging.

Cons

Platform-Specific Sharing Issues

The README admits that sharing raw HTTP(s) image URLs from the web can fail unpredictably, forcing developers to use local files or resources instead, adding complexity.

Complex Native Setup

Requires separate build setup for iOS and Android with manual linking of the WeChat SDK, which can be error-prone and time-consuming, as indicated by the separate documentation files.

Limited to WeChat Only

Focuses exclusively on WeChat integration, so teams needing multi-platform social features must integrate additional libraries, increasing project dependency management overhead.

Frequently Asked Questions

Quick Stats

Stars2,902
Forks704
Contributors0
Open Issues199
Last commit3 years ago
CreatedSince 2015

Tags

#js#ios#oauth2#social-sharing#android#wechat#react-native#cross-platform#wechat-sdk#mobile-authentication#mobile-payments#mit

Built With

A
Android SDK
i
iOS SDK
R
React Native

Links & Resources

Website

Included in

React Native35.6k
Auto-fetched 1 day ago

Related Projects

react-native-google-signinreact-native-google-signin

Google Sign-in for your React Native applications

Stars3,558
Forks887
Last commit23 days ago
react-native-google-places-autocompletereact-native-google-places-autocomplete

Customizable Google Places autocomplete component for iOS and Android React-Native apps

Stars2,070
Forks869
Last commit1 month ago
react-instantsearchreact-instantsearch

⚡️ Lightning-fast search for React and React Native applications, by Algolia.

Stars1,963
Forks369
Last commit3 years ago
react-native-facebook-loginreact-native-facebook-login

React Native component wrapping the native Facebook SDK login button and manager

Stars1,232
Forks321
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub