If you haven't used React Native before, you need to setting up the development environment based on documentation. Select "React Native CLI Quickstart" Section.
Tools to download:
- Android Studio (for Android development)
- Xcode (for iOS development)
# Install dependencies
yarn
# Linking Native Code on iOS
npx pod-install
Refer to the React Native docs to setup platform-specific development environment
Assuming an Android Virtual Device (AVD) is already running, run:
$ npx react-native run-android
$ npx react-native run-ios
$ cd android && ./gradlew assembleRelease
Android | iOS |
---|---|
Android | iOS |
---|---|