{"repo":"Hector-Zhuang/expo-native-wechat","free":true,"listed":false,"github":"https://github.com/Hector-Zhuang/expo-native-wechat","clone":"git clone https://github.com/Hector-Zhuang/expo-native-wechat.git","description":"A Expo Module for supporting Wechat APIs on Android and iOS","language":"Kotlin","stars":120,"topics":["android","expo","ios","react-native","wechat"],"license":null,"category":"mobile-apps","readme_excerpt":"Expo Native Wechat A Expo Module for supporting Wechat APIs on Android and iOS For Bare React Native Project Please refer to Native Wechat Motivation Most developers using React Native to build apps are not equipped with native developing skills, not to mention connecting their apps with WeChat. Especially, WeChat OpenSDK is something pain in the ass because of shitty docs where lots of APIs are not clear and intuitive. To help developers using React Native, I tried as much as possible to create this library. And I hope you benefit from this and be less frustrated with WeChat. Why - Native WeChat is new, and many libraries like it are no longer maintained and keep up with the latest WeChat. - Native WeChat supports both legacy and new React Native architecture. - Native WeChat is a TurboModule that supports lazy loading, allowing for faster app startup. - Supports TypeScript for better intellisense and easy-to-check typing errors. - All Apis are promisified. Getting Started Installation Expo SDK 51 and below Expo SDK 52 and above Configuration Open app.json and add the following information: Register SDK Before invoking any APIs, registering Native WeChat by invoking registerApp is essential. When invoking registerApp , there will be a listener to receive events from Wechat. registerApp returns a function to remove the listener, and no events will be received from Wechat. Invoking API Now is the time to invoke API. For example, we will send an auth request to Wechat and recei","default_branch":null,"files":null,"tree":[],"storefront":"/r/Hector-Zhuang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Hector-Zhuang/expo-native-wechat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}