mirror of
https://github.com/little-snow-fox/react-native-wechat-lib.git
synced 2025-12-06 23:36:49 +08:00
1.0 KiB
1.0 KiB
Playground for react-native-wechat
Make sure you have the development environment set up with this Tutorial at first.
首先确保已经按教程配置好 React Native 本地开发环境。
How to run
$ git clone this repo
$ cd playground
$ yarn install or npm install
Ensure emulator is ready or mobile device is connected to your machine:
运行前先开启模拟器或连接真机调试。
$ npm run start or react-native start --reset-cache
iOS:
$ cd ios && pod install
Add the following libraries to your "Link Binary with Libraries" in Targets > Build Phases in Xcode :
点击 Xcode 左侧 Targets > Build Phases 中的 Link Binary with Libraries 选项添加以下库:
SystemConfiguration.frameworkCoreTelephony.frameworklibsqlite3.0libc++libz
$ react-native run-ios
Android:
$ react-native run-android