Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1019 Bytes

CONTRIBUTING.md

File metadata and controls

61 lines (39 loc) · 1019 Bytes

Contributing

Development workflow

Install dependencies

Use yarn to install development dependencies.

yarn install

If you don't have bundler installed:

gem install bundler

Move to the example directory and install dependencies there too.

cd example
yarn install
bundle install
cd ios && bundle exec pod install

Example app

Start the example app to test your changes. You can use one of the following commands from the repo root, depending on the platform you want to use.

From the example directory:

iOS

yarn ios

I also recommend opening example/ios/SafeAreaViewExample.xcworkspace in Xcode if you need to make changes to native code.

Android

yarn android

I also recommend opening example/android in Android Studio if you need to make changes to native code.

Use ctrl+cmd+z on iOS or ctrl+m on Android to open the dev menu and choose an example.

Run tests

yarn test

Open a pull request!