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
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:
yarn ios
I also recommend opening example/ios/SafeAreaViewExample.xcworkspace
in Xcode if you need to make changes to native code.
yarn android
I also recommend opening example/android
in Android Studio if you need to make changes to native code.
yarn example:expo
Use ctrl+cmd+z
on iOS or ctrl+m
on Android to open the dev menu and choose an example.
yarn test