Integrating react native with existing Android and iOS native projects.
- Clone this repository.
- At root directory run
npm install
to install the dependencies.
- Open folder
android
by Android Studio and run the project as normal.
- At root directory
cd ios/ && pod install
- Go to
ios
folder and double clickDemoIntegrateRN.xcworkspace
to run the project.
- To run react native part, you need to first start the development server. To do this, run the following command in the root directory
npm start
- From the native app and clicking the button to navigate to react native part, it should load the JavaScript code from the development server and display react native screens.