名称 最后更新
..
__tests__ 正在载入提交数据...
android 正在载入提交数据...
ios 正在载入提交数据...
.buckconfig 正在载入提交数据...
.eslintrc.js 正在载入提交数据...
.flowconfig 正在载入提交数据...
.gitattributes 正在载入提交数据...
.watchmanconfig 正在载入提交数据...
App.js 正在载入提交数据...
README.md 正在载入提交数据...
app.json 正在载入提交数据...
babel.config.js 正在载入提交数据...
index.js 正在载入提交数据...
metro.config.js 正在载入提交数据...
package.json 正在载入提交数据...
yarn.lock 正在载入提交数据...

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.framework
  • CoreTelephony.framework
  • libsqlite3.0
  • libc++
  • libz
$ react-native run-ios

Android:

$ react-native run-android