React Native 包使用微信分享、登录、收藏、支付等功能,支持Android/iOS。
⚠克隆自:https://github.com/uiwjs/react-native-wechat
⚠克隆时间:2024.07.25
android | ||
example | ||
ios | ||
.gitignore | ||
index.d.ts | ||
index.js | ||
package.json | ||
README.md |
@uiw/react-native-wechat
Getting started
$ npm install @uiw/react-native-wechat --save
Mostly automatic installation
$ react-native link @uiw/react-native-wechat
Usage
import RNWechat from '@uiw/react-native-wechat';
// TODO: What to do with the module?
RNWechat;
开发
cd example # 进入实例 example 工程,根目录不需要安装,会引发错误
yarn install # 安装依赖
cd ios # 进入 example/ios 目录安装依赖
pod instll # 安装依赖
其它
当前工程基于 @brodybits/create-react-native-module 初始化。
npx create-react-native-module --package-identifier com.uiwjs.react.wechat --object-class-name RNWechat --generate-example Wechat --example-react-native-version 0.63.2 --module-name @uiw/react-native-wechat --github-account uiwjs --author-name "Kenny Wong" --author-email "wowohoo@qq.com"