1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
React Native 包使用微信分享、登录、收藏、支付等功能,支持Android/iOS。 ⚠克隆自:https://github.com/uiwjs/react-native-wechat ⚠克隆时间:2024.07.25
Go to file
2020-07-31 14:47:29 +08:00
android Init project. 2020-07-31 14:47:29 +08:00
example Init project. 2020-07-31 14:47:29 +08:00
ios Init project. 2020-07-31 14:47:29 +08:00
.gitignore Init project. 2020-07-31 14:47:29 +08:00
index.d.ts Init project. 2020-07-31 14:47:29 +08:00
index.js Init project. 2020-07-31 14:47:29 +08:00
package.json Init project. 2020-07-31 14:47:29 +08:00
README.md Init project. 2020-07-31 14:47:29 +08:00

@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"

相关连接