Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.59 KB

CONTRIBUTING.md

File metadata and controls

56 lines (38 loc) · 1.59 KB

Contributing

(More details coming...)

Run example/ app locally

Installation

# 1. Install dependencies
yarn install # For tests, lint, etc
cd example/
yarn install

# 2. Install from local
yarn install:local
# removes "file:../" (does not work with RN-metro)

Running app in android

yarn android
yarn start

Sync changes

When you make changes to the react-native-week-view/ package, you need to manually sync the code with the example/ app to see the changes. After each change, run yarn sync and reload the app.

Profile performance on android

cd example
yarn android:release # evaluate performance in release version (__DEV__ === false)

# Open the app in the emulator

# Run systrace with:
/path/to/android-sdk/platform-tools/systrace/systrace.py --time 10 -o ../traces/<some-filename>.html sched gfx view -a com.example

# Interact with the app for 10 seconds, then check trace.html in Google Chrome

Known issues: